× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On Mon, 8 Sep 2003, Chris Bipes wrote:

> Look at your TCP Buffers Sizes one the individual machines.  Also look at
> the network configurations.  Are there routers / fire walls between the
> AS400 and the PC on some on the networks?  Can you see any patters in the
> network layout or TCP Buffer sizes?

Why would buffer sizes matter?  I would agree with you if he were getting
WSAEWOULDBLOCK...

> It sounds like the packets are arriving out of sequence and the close
> is arriving before all the data is processed by the PC.  Is this UDP or
> TCP connection?

TCP ensures that packets are received in the same order they are sent.
Two of the most commonly used interrnet protocol, FTP and HTTP, both
use the socket closing as an indication that the data has all been sent.
Therefore, the closing of the socket MUST work without losing data...

However, if SO_LINGER is set improperly, and the packets are received out
of sequence, it's possible that the server is no longer listening to
re-send the bad ones.   But, with SO_LINGER at it's default value, this
shouldn't happen.

UDP could get the packets out of order, but closing the socket wouldn't
cause data to be dropped in UDP, since it's not expecting an ack of the
data.  (Not only that, but you wouldn't want to close the socket at all if
it were UDP, since you use the same socket for every client that sends a
packet)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.