Solved

WinSock latency issues

Posted on 1998-06-01
3
267 Views
Last Modified: 2013-12-03
I've written a WinSock wrapper class for use with client/server applications. When client programs connect to the server though, there is a noticeable lag time of about .33 seconds on average with an occasional 2 to 3 seconds or more lag spike. Is this due to internet latency, my connection rate (only 57.6kbps) or the routines that I've written? Also, is there any way to speed up the transfer rate of the data?
0
Comment
Question by:dwatling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1405756
To isolate the latency to either your program or the network, try running with your client on the local network.  That way, slow network performance won't impact your performance.  If it's still slow, then you know it's in your code or hardware.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1405757
Better yet, run the client and the server on the same machine.
0
 

Author Comment

by:dwatling
ID: 1405758
I tried your suggestion, and it runs with little or no lag, so it's gotta be the modem speed or the internet.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question