System.Net.Sockets in Visual Basic .NET

  • Thread starter Thread starter Stephan
  • Start date Start date
S

Stephan

I have a client and server program, I am not sure if it's the client or the
server causing this problem.
I believe however, that it is the server. It seems the server is sending
data too fast and the chunks are getting placed in random places. I have
tried to put a pause on the send function to slow it down a bit, but the
same issues kept occuring. Has anyone had and/or resolved this problem in
the past?

Thank you in advance,
Stephan
 
Hi,

I've never seen this.

However, I'd suspect the client code, not the server. How are you
"accumulating" data when it is received? You do realize that there is no
assurance that all data that have been sent will be received at one time?
However, the receive data will be in the correct order (if using TCP -- if
you are using UDP, you don't have this assurance).

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004.
 
Back
Top