Solved

WinSock latency issues

Posted on 1998-06-01
3
250 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
3 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
Comment Utility
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
Comment Utility
Better yet, run the client and the server on the same machine.
0
 

Author Comment

by:dwatling
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now