Why can't I send any more than 5 TCP messages per second on an NT system?

Help!
I am trying to send a message (approximately 50 bytes long) every 22 ms (45.4 Hz) to the only other machine on our network (the server). I am using the following function:
Status = ClientTCPWrite(Conversation_Handle, Pointer_to_the_data, Size_of_the_data, Timeout_value);
I have tried various values (0, 1, & 10) for the Timeout value to no avail. The status always comes back saying it wrote fine (no error status). I am running this application on Windows NT 4.0. No matter what I have tried it can only muster about 5 messages per second. I think NT might be limiting me, but I'm not sure. I am updating the screen (which ought to take longer than writing the messa
ge) every time I send with a count of how many messages I have sent. This appears to be working at the proper rate (I am using a timer set to go off every 0.022 seconds to call the send). I am the administrator on this NT machine with all rights (as far as I can determine). I have tried using the SDK function SetPriorityClass to set the priority of this task to REALTIME_PRIORITY_CLASS, but the return value comes back 0, which means it was unsuccessful. I haven't explored this any further yet, but 22ms should be a long time to a computer so it ought to work without having to go to these extraordinary measures (at least that is what I think). Anybody familiar with the inner workings of NT or the TCP library PLEASE RESPOND.
Thanks,
Greg Filis
[email protected]

22ms is a long time for your computer, but I am wondering about your network. Are you 10 base or 100 base? Switch or hub? Have you tried a direct connection with a crossover cable? Just trying to spark ideas here. I use TCP all the time but only at 500 ms intervals.

Similar Messages

  • Why can't I add any more photos to my nearly completed movie?

    Why can't I add any more photos to my nearly completed movie?

    Assuming you are using iMovie, please post your question in the following section...
    https://discussions.apple.com/community/ilife/imovie

  • Why can't I download any more apps on my iPad mini

    Why can't I download any more apps on my ipad mini

    Try deleting the waiting app then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Why can't I send iPad HD a text message from iPhone 4S ?

    Why can't I send my iPad HD a text message ? Both are setup to with iMessage.

    Ralph9430 wrote:
    My daughter sends me regular Messages from her iPhone 4S to my iPad. She sends the message to my email address. I can reply by sending a Message to her phone number.
    Are both devices yours? Are you using different email address for each device?
    Yes, both are mine. tried sending to email, goes to iPhone 4S not iPad. Both have same email. I'll try my wifes iPhone 4.

  • Why can I not send or receive pictures or messages on face time

    why can I not send or receive messages or pictures on my FaceTime

    Hi Rogerpinette,
    If you are having issues with FaceTime on your iPad, you may find the following article helpful:
    iOS: Troubleshooting FaceTime
    http://support.apple.com/kb/ts3367
    Regards,
    - Brenden

  • Why can't I text to more than 10 contacts at a time with my iPhone3GS?

    Does any one have any feed back on this topic? I have discover this holiday season that I can't no longer text a message to more than 10 people at a time from my contact list. I call apple iphone support and they have confirm that this is the case.
    This is a feature that I very much enjoyed in the past and have notice that in the older software version 3.1 of my 3GS, I can still do it, but not in the new version 3.1.2

    Thank you so much Tamara, I wonder why the folks at help desk for iPhone are not a ware of this answer.. You been very helpful I really appreciated. Happy Holidays to all!

  • Why can't I set up more than one ipod with the same e-mail account?

    Why can't I setup more than one ipod with the same e-mail account?

    Not really sure what you are doing that this doesn't work...I have an iPhone, iPad and iPod all using the same email account without any conflicts.  Can you explain a littl about what you are trying to do that isn't being allowed?

  • Why can't I send any messages?

    Hi I have an iPhone 4S using iOS 8.2. The problem is that I can't send any messages at all. First off, I tried turning the iMessage feature off and then on again but now it's stuck. I can't turn it on again. Secondly any texts I send out will just give me the notification that it failed to send. Does anyone know what to do?
    Things I've tried:
    Shutting off and turning on
    Restarting
    Resetting Network Settings
    Resetting All Settings
    Turning off iMessage to turn it back on (Now it's stuck off.)
    Syncing with iTunes
    And I'm in the process of restoring the iPhone using iTunes
    Things to note:
    Everything on my phone works fine. But I notice whenever I open up my Message app it'll take a really long time. Usually when it does work, all my messages are gone. Other times I can see my messages. But whenever I click on it, it'll lag tremendously. Once it responds I can still only see the last message that was sent between the other person and I.
    A similar thing happens in Settings. Whenever I try accessing Settings > Messages it'll lag a lot before eventually letting me in.
    EVERYTHING else works perfectly though, it's only anything that involves messages/face time that will give me problems.
    Thanks in advance!

    Follow these steps:
    1. Turn off iMessage
    2. Turn off Facetime
    3. Go to General, Reset, Reset Network Settings
    4. Go to Settings, go to wifi and enter your network password
    5. Go back to iMessage and turn it on
    6. Go to FT and turn it on
    This should work for you.

  • Why can I no longer open more than one tab in Firefox? Has Firefox been saboutaged by an update by Microsoft?

    I have been using Firefox for over 2 years and like the (unreliable) Windows Explorer before it I took for granted the ability to open multiple tabs. 2 days ago my computer downloaded some updates (even though I try to stop it) and after the compulsary restart I cannot open more than one tab in Firefox, even though the browser apparently invites me to. Is this an attempt by Microsoft to saboutage Firefox to build up support for its own product?

    Not Microsoft, it is the Ask toolbar. Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and the current version of Firefox.

  • HT3529 Why can't I send pictures through a text message?

    I have recently upgraded to an iPhone (first time iPhone user) and I am trying to send a picture that I recently took to an individual through a text message.  I have tried viewing the picture and pushing the button that brings up the option to send the picture through a message, but when I try to do that I always get a message telling me that the message has failed.  I'm not sure exactly what to do at this point.  Any help will be much appreciated.

    I am using AT&T and the individual I'm trying to send the message is also on AT&T service, but they have a different type of phone that is not an iPhone.

  • With version 4 why can't I go back more than one page at a time. Used to be able to jump back with older version.

    I don't want to refresh - I want to be able to jump back several pages - i.e..on one site - link took me to another site - done with that one - want to go back quickly to the original site..?

    The dropmarker (down-arrow) has been removed from the Back/Forward button in Firefox 4. You can do one of the following:
    *right-click the Back/Forward button to show the drop-down list of history/sites for the tab
    *while on the Back/Forward button, left-click and HOLD until the drop-down list appears
    *install this extension to add the drop-marker Back/Forward button: https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe PDF Plug-In For Firefox and Netscape 8.2.2
    *Shockwave Flash 10.1 r82
    *Next Generation Java Plug-in 1.6.0_23 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • TS1702 Why can't I buy any more in app additions?

    I'm playing Book of Heroes and you can buy additional shields in the game. I did it three times and there was no problem. I want to buy some more and now I can't. iTunes tells me that I have to contact support to complete this transaction and there was an error in completing the transaction. I should try again later. Help please.

    Wow... If this is related to using an iPhone in an Enterprise environment (to which this forum is dedicated), I want to work for your company... are they hiring?

  • Why can't I send any mail?

    I can not send/forward/reply email.  The send icon at the top left is not highlighted and when I put cursor on it and hit it, it does nothing.  What is going on?

    Update:
    See bug:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1060901
    Please register and add comments stating what OS you use and what version of thunderbird. then Vote for the bug - this located in the top section:
    * Importance: -- normal (vote)
    the (Vote) is a link - click on it. select the checkbox for the bug and click on the 'change my votes' button.
    Workaround:
    Comment by Fabian Rodriguez 2014-09-04 06:19:15 PDT
    Confirmed workarounds:
    * While composing an email open the address book and select the list you are trying to send to, highlight all the names in the list and drag them to the To: box. This uses your existing data without modifying it.
    * Replacing the blanks " " between the words in such lists' descriptions with an underscore "_". This requires modifying your mailing list(s) description(s).

  • Why can't iphones sync to more than one library?

    I just got an iPhone and a Mac. I still have my old computer and its iTunes, but my new computer has new music that I would like to add. is there anyway that i would be able to sync to both these computers?

    clarisabigsur wrote:
    I just got an iPhone and a Mac. I still have my old computer and its iTunes, but my new computer has new music that I would like to add. is there anyway that i would be able to sync to both these computers?
    No.
    Put all of your music on one computer and sync to that one.

  • Can't open iTunes any more?! (after software update)

    After the last software update I can't open iTunes any more. Error message: "you can't open the application itunes because it is not supported on this type of mac". how is that possible? does the system really update to a itunes version, I can't run? how stupid is that?
    thanks!

    I think what you are saing is that you have error message free launch failure with iTunes.exe persisting on the processes tab .
    If so this is commonly due to a problem with cryptographic services. Here is a diagnostic Method for working out the problem:
    Before checking if iTunes works, restart your PC or close the iTunes.exe process with task manager if it is running.
    A couple of simple things to try:
    http://support.apple.com/kb/TS1776?viewlocale=en_US
    Stop the bonjour service, this FAQ has instructions:
    http://support.apple.com/kb/HT2250?viewlocale=en_US
    But usually it is due to a problem with cryptographic services.
    Check to see if you have your smart card service and that it is not set to disabled. For some reason iTunes needs it.
    Start>>Run>>Services.msc
    you should find the smart card service in the list. Report back with your findings.
    Malware can interfere with cryptographic services and also prevent a resolution so it is important to check that your system is clean before proceeding: Run a virus and spyware scan with up to date definitions.
    Then work through *Method 4* in the following link:
    http://support.microsoft.com/kb/822798
    You should be able to copy and paste the individual lines to save on typing.
    Make a careful note of any error messages you get, they are important for diagnosis. Report back any error messages especially the names of any dlls mentioned.
    If there are no errors try starting iTunes.

Maybe you are looking for