A single socket with a reader thread and a writer thread

Could a socket handle reading and writing simultaneously? If it could, are there any impact?
Thanks

With a single socket, a client sent , for example, the first 10 IP packages and wait for the server acknowledge.TCP does that asynchronously from the application.
If the server noticed that the 7th package was corrupted, then the client need to resend the 7th package.TCP does that asynchronously from the application.
This could imply there were some idle times on both the client and server.Not at the client. TCP does all that asynchronously from the application. Data is written from the application into the socket send buffer and then the client continues execution. All the segmentation and packetization and acknowledgement and retry is asynchronous from the application. There is a delay at the server but's that's because all the data hasn't arrived, innit? so it's unavoidable. But in practice very few packets are lost and TCP runs at pretty much full speed all the time.
You still haven't clarified whether you're talking about your code or TCP, but if you're not talking about what TCP does, you must be trying to build all this stuff into your application, which I've already spoken about as redundant at best and highly counter-productive at worst.
If I open multiple sockets between the client and the server, these idle times would be minimize since the client , while waiting for the acknowledge, could send data to other sockets.This is fallacious for the reasons given above.

Similar Messages

  • Dot matrix printer will not print well with acrobat reader 8 and 9.

    I have the dot matrix printer IBM Proprinter XLIII, with Acrobat Reader 7 pdf prints correctly, but with Adobe Acrobat Reader 8 and 9 print badly.
    Someone I can 'help?

    I updated the drivers with a new version, but continues to print badly with acrobat reader 8 and 9 (the text is not readable)
    If printed with Acrobat Reader 7 print is ok.

  • I have a Iphone 3gs with the reading list and I was upgrading my phone however Im changing to a samsung galaxy s3, I wanted to know how to send or sync my reading list on my phone to maybe an email or something so that I could copy it to my galaxy??

    I have a Iphone 3gs with the reading list and I was upgrading my phone however Im changing to a samsung galaxy s3, I wanted to know how to send or sync my reading list on my phone to maybe an email or something so that I could copy it to my galaxy??

    Go to supportprofile.apple.com and remove your device. Alternatively you can call in to apple and have Apple look up your phone number. They may be able to remove it from their end.
    If it does not show up in either of these places, have the people whe own the other iPhone send you a message> this message will be blue for an iMessage> have them push an hold on that message and select the option "send as text"> this should send the message as green> do this two - four time till it starts sending as green on its own.> this should fix it.

  • Opening .PDF's in IE7 with Adobe Reader 9.0 & Adobe Writer 5.0

    Hi
    I am running a XP Pro environment on a HP D530 machine. I have installed on this PC Adobe Reader 9 and Adobe Writer 5.0. I have defaulted through the folder options all .PDF and adobe related files to open in 9.0 and done the normal 'open with' option aswell. Problem is on this internet ticker link i have/use, all the .PDF's posted on there always default to 5.0 and produce a error saying i need to upgrade to a higher version. If i leave 9.0 open then it will default to them without any issue. Is there any regkeys or files in 5.0 or 9.0 i can change so i can set all files to 9.0 Reader?
    I have been told the ticker is only used to link to the files and does not have any code that dictates how the .PDF's open.
    Any adive or ideas would be of great help! :-)
    Andy
     

    With Acrobat 7 you can only send out Browser Based Review, (which is replaced by shared reviews in version 9).
    The reviewers will need to open the PDF inside a browser, and have access to the location of the PDF to be reviewed.
    Acrobat 8 can do both types still, have a look here:
    http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WSB7237F9D-E90A-4c6 b-8C0D-58C7B2063B1D.html
    And here's a tutorial for those situations whereby reviewers do not have access to the server location of the Reviewed PDF:
    http://www.adobe.com/designcenter/acrobat/articles/acr7subreview.html

  • Query performance problem - events 2505-read cache and 2510-write cache

    Hi,
    I am experiencing severe performance problems with a query, specifically with events 2505 (Read Cache) and 2510 (Write Cache) which went up to 11000 seconds on some executions. Data Manager (400 s), OLAP data selection (90 s) and OLAP user exit (250 s) are other the other event with noticeable times. All other events are very quick.
    The query settings (RSRT) are
    persistent cache across each app server -> cluster table,
    update cache in delta process is checked ->group on infoprovider type
    use cache despite virtual characteristics/key figs checked (one info-cube has1 virtual key figure which should have a static result for a day)
    =>Do you know how I can get more details than what's in 0TCT_C02 to break down the read and write cache events time or do you have any recommandation?
    I have checked and no dataloads were in progres on the info-providers and no master data loads (change run). Overall system performance was acceptable for other queries.
    Thanks

    Hi,
    Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
    Berkeley DB
    Thanks,
    mark

  • Conflict with Adobe Reader 9 and Acrobat 6

    I'm having an issue with a conflict between Reader 9 and Acrobat 6.  PDF files open properly in Reader 9, but when I open URL's with PDF links it defaults to Acrobat 6.  Reader 9 is the default program on my machine to open PDF's and I have tried to edit preferences, but it still does not work.
    I have uninstalled Acrobat 6, but I really like the idea of "printing" to a PDF.  If I decide to reinstall Acrobat 6 should I uninstall Reader 9 first and then reinstall it again later?
    Thanks!

    Hi,
    You can do what you have stated as well i.e. Uninstall Reader 9 and reinstall Acrobat 6 and then Reader 9. But do make sure that while installing Reader 9, select Reader 9 as the default PDF viewing application when you are prompted.
    Or, once you have installed BOTH Acrobat 6 and Reader 9 on your system, please change the following registry key to point to AcroRd32.exe (usually present at: "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe").
    HKCR\Software\Adobe\Acrobat\Exe
    Hope this resolves your problem
    Ankit

  • Sr830 connected with rs232, reading freq and voltage doesnot happen simultaneously

    Hi,
    I am having a problem, trying to set the frequency and voltage in the auxiliary output simultaneously. I wrote two codes, one to set frequency and another to set voltage in the auxiliary output and used them as sub VIs to my main program which at this moment contains only these two elements. When I run the program the first time, both the frequency and voltages are set, but on subsequent runs only one item is set whilw the other retains the older value and I have to run the program again to set this parameter. What is the problem? can u please help me out. I am just one week into labview programming but I have to set up C-V hysterysis in very shor time, of which these controls are a part. Please find the programs attached.
    Solved!
    Go to Solution.
    Attachments:
    select frequency.vi ‏20 KB
    select voltage.vi ‏20 KB
    freq and voltage.vi ‏18 KB

    Thank you guyz for your respective suggestions, I have replaced the two serial port initialization into one and I have placed the write functions sequentially, with a VISA close and simple error handler at the end. I have aso terminated all the voltage, freq., and amplitude commands with EOL (\r\n) Now, when I run this program, in the first run nothing happens, the values for voltage, frequency and amplitude remains the same. On the second run only the first component, i.e., the voltage is set to the defined value the freq and amplitude remains unchanged and on subsequent runs, nothing happens at all. o, I can only set the voltage, but not the next two components. I am sorry, but I don´t if I am making some silly mistake, but why doesnot the write functions work sequentially now?  and BTW i have only one serial port connected to the Stanford research SR830 lock-in amplifier.
    Attachments:
    select voltage freq amp.vi ‏44 KB

  • Acrobat Reader 9 and Acrobat Writer 7

    Good morning
    I have a nice issue with these 2 adobe products
    We have 2 products installed in our pc: Adobe Reader 9.x and Adobe Writer 7
    We have developped a SAP-Procedure who load a PDF form in wich users can modify some data
    The procedure need Adobe 8.1.x (up) but the presence of Reader 9 and Writer 7 will generate an error loading the form
    IS it possible to unregister the Adobe 7 module loaded in IE and re-load Adobe Reader 9 activex modules?
    Best regards
    Nicola G.

    Thanks for the answer. I've found a little workaround... The only way is
    uninstall Adobe Reader 9.x and re-install SO the program could
    re-register AR components in IE. This because AA7 lock some keys and cannot unregister them manually!

  • Problem with Adobe Reader 9 and HTML Help, IE 7 and Firefox

    Hello everyone
    I have some Problems with the Adobe Reader 9.1.0 and different browsers.
    If I want to open a PDF document in one of these browser the browser-window freezes for 30 seconds and the document is built-on line by line.
    The Trouble is that if the document is comlete loaded an i want to scroll down, the windows freezes again and the document starts again with built-on...
    I have tried to open the documents with Reader 8.1.3 and this works fine, but i need to open the documents with Reader 9.1.0 because this is a customer preference to open the document with the newer version!
    Sorry for my english but i hope my problem is understandable :-)
    Does anyone know how to solve this problem?
    kind regards
    Marcel

    1. It happens with any file i want to open in browser.
    2. The Problem is specific to browser. When I open a document in the Reader application everithing works fine.
    kind regards
    Marcel

  • Confirmation That I Understand What I Can and Cannot Do With Adobe Reader XI and Adobe Acrobat Pro XI

    I am new to working with Adobe Acrobat Pro XI and Adobe Reader XI.  Based on research I have done and questions answered in the Adobe Communities and Forum, I wanted to make sure I understand the limitations of these two products before I report back to my supervisor.  (We do not want to use XFA forms to obtain data in an xml file.)
    1.  Adobe Reader XI will allow a user to save a fillable PDF document to his/her local PC.  But it is only possible to save it as a PDF.
    2.  Adobe Reader XI will not allow a user to export the data in a fillable PDF into an xml file (unless you purchase the LiveCycle Reader Extensions license).
    3.  Adobe Reader XI will not allow a PDF file to be displayed in a .NET program unless the "Enable Protected Mode at startup" checkbox in Preferences/Security(Enhanced) has been unchecked.  (The previous version of Reader would allow this without disabling security.)
    4.  Adobe Acrobat Pro XI will allow a user to scan a form and create a fillable PDF.
    5.  Adobe Acrobat Pro XI will allow a user to save the fillable form as a PDF or XML.  However, it is the form that is being saved as an XML file.  Not the data.
    6.  Adobe Acrobat Pro XI will allow a user to export the data of a form into an xml file, an .fdf file, an .xfdf file, or a .txt file.
    7.  If a programmer writes a program in .NET to save the data of a PDF as an .xfdf file using IAC code, it will only work on a PC that has Adobe Acrobat (Standard or Pro).  If we need this executable to work on other PCs, we would need to purchase additional licenses of Adobe Acrobat - a license for every PC that needs to run the executable.
    8.  If a programmer writes  JavaScript code using trusted functions to get around security issues, that code will work on a PC that has Adobe Acrobat (Standard or Pro) but will not work on Adobe Reader XI.  Again, if we wanted our JavaScript to work, we would need to purchase Adobe Acrobat for every PC that would run the code.
    Please let me know if I have understood all of this correctly.  Thank you.

    Thank you for your comments to each of my statements, Irosenth.  That has been extremely helpful.
    I probably needed more of an explanation on statement #3.  I wrote a .NET program that used this line:   "Process.Start("AcroRd32", FilePath)" and when I ran the executable on a desktop PC that only had Adobe Reader XI on it, Reader would not open unless we unchecked the "Enable Protected Mode at startup" box.  I researched this and found several references to this being a problem in Readers since Reader 9.  I just wanted to make sure this was correct.  One article indicated that we could change the security setting within the registry using code and then change it back.
    Item #8 needed more information as well.  I had tried to use the "exportAsXFDF()" in a trusted function and it would never work in Reader.  It has an "F" in the availability column of the "Quick Bar" in the JavaScript API Reference which means it requires "forms rights".  I saw that; but it was not clear to me if that meant that a trusted function would work.  So, it looks like trusted functions will not get around security settings if forms rights are required.

  • Report with both read-only and uploadable features

    Client would like to use one report as both an uploadable report and as a read-only report, depending on user.
    Is there any way to have a report which gets security based on the user making the request, say, by hiding the upload button for the user without the rights to it, or by validating before the upload occurs?
    Thank you.

    Hi Venkat,
    You can get logged in user name using the code below in your report
    ThisWorkbook.InterlaceSession.Username ---> This will return who is logged in.
    Similarly you also have other properties like
    ThisWorkbook.InterlaceSession.IsAdmin
    ThisWorkbook.InterlaceSession.IsOwner
    ThisWorkbook.InterlaceSession.IsParticipant
    ThisWorkbook.InterlaceSession.IsApprover
    Based on these you should be able hide update changes button with simple VB code.
    Thanks
    Hari Devarapalli

  • Strrange problem with Acrobat Reader 9 and power loss

    Hello,
    I have a Lenovo T61P (6457-A26) with Windows XP, and I have found a very strange behaviour with Adobe Acrobat Reader 9.
    Sometimes I open a PDF, and I read one or two pages, and then my laptop has a problem like a power loss (remove of the batter).
    I can read those PDF on other PC/MAC/Linux, ... no problem at all.
    So I'm thinking about an incompatibility with my laptop and Acrobat Reader...
    So for now, I've installed another PDF viewer (FoxIt), and I can open my PDF without fearing this lost of power...
    Did somebody experienced something like that? If yes, are there some solutions?
    Alessandro

    1. It happens with any file i want to open in browser.
    2. The Problem is specific to browser. When I open a document in the Reader application everithing works fine.
    kind regards
    Marcel

  • Issue with Adobe Reader 9 and Snow Leopard

    I can not seem to open any of my pdfs on my new MacbookPro.
    Looking at version Adobe Reader 9 it does not show this OS 10.6.1 as system option
    Any suggestions? I have a ton of pdfs I need to review for work and did not anticipate this problem

    Same here... 9.1.3 works just fine on my Macbook as well... Originally after downloading 9.1.0, I had a few issues downloading the update in but nothing otherwise.

  • HT2311 I cannot open the download for iTunes, it seems to be frozen. I get that small screen with the read first and the installer and it doesn't respond to my clicking

    trying to download and install iTunes 11 and though it downloads I cannot open it, seems to be frozen, thoughts?

    Many thanks diesel.  I cannot remember ever having an administrator password. Looks like I shall have to do a restore on my PC and not bother with the updates.  Or maybe I could find my password from somewhere ? When I went into control panel I found a box with administrator and my name and it said password protected so I must have had one at some time. Any ideas on how I could find it ? Many thanks anyway. I always use a password to sign on but obviously that is not it.  Eileen

  • VISA Read Timeout and VISA Write not working

    I'm writing a program that sets a triangle wave pattern voltage (using Triangle Wave VI) to a DC power source (GWInstek PST-3202) through a RS-232 connection.  I know my instrument parameters are set up correctly because I've been able to control this power source using a different VI with the same parameters.  I also know I am connected to the power source because I can talk to it using MAX.  I have a string indicator before my VISA Write statement that shows me the command being sent to VISA Write.  It shows the correct syntax for setting a voltage on this instrument.  However, when I run the VI, the voltage is not changed on my instrument, even though the correct command is sent to the instrument.  After the VISA Write operation I have inserted a VISA Read function in order to read the newly set voltage from both a numeric and a waveform indicator.  Using the Error Out cluster I am able to see that there is a timeout error from VISA Read.  I thought perhaps I needed to clear or flush the buffer after each Read statement, but that didn't work either.  I'm stumped as to why VISA Write isn't writing to the device.  I have included my VI below, as well as the initialization subVI for the power supply.  
    Attachments:
    Triangle Volt Mod.vi ‏27 KB
    GW Instek initialization.vi ‏18 KB

    Yep, you need to append the End of Line character to the end of your command.  And for your read to work properly, you need to request the data.  That requires a querry command to be sent.  Look closely at the differences in command and communication structures between your working VI and your mod.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • How to remove httpOnly flag weblogic 10.3.5

    I have upgraded to weblogic 10.3.5 from Weblogic 9.1. I used fiddler to analyse the request and response for http.I see httponly under response as recieved from Weblogic 10.3.5. I want to remove or disable httpOnly under SetCookie JSESSIONID='' httpo

  • How to Hide ADOBE Toolbar in Web Dynpro ABAP

    Hi Team, I have an ADOBE form (Display Only) coded in my Web Dynpro ABAP application which displays data from the context of a view. I want to hide and disable the PDF toolbar. How to achieve this. I saw a method SET_HIDE_TOOLBAR, but don't know wher

  • 'Media Offline' Thumbnails Are Wrong

    I accidentally powered down my external scratch disk before closing Final Cut 5. All the media went offline but I reattached everything fine. However, the thumbnails on the clips in the timeline and browser still have that red 'media offline' pic on

  • Need new keyboard for Portege 4000/4010

    Anyone know where I can get a replacement keyboard for this model notebook? The part number on the back of the keyboard is UE2025P03KB-EN Any help would be appreciated.

  • Xsl:import error

    Why oracle xmlparserv2 dosen't support <xsl:import href="b.xsl"/>? What's the error message mean? "oracle.xml.parser.v2.XMLParseException: Error while processing include XSL file (b.xsl). at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:20