Re: UDP network problem

kwrohrer@enteract.com
Sun, 17 Aug 1997 22:55:22 -0500 (CDT)


And lo, mshar@vax.ipm.ac.ir saith unto me:
> Thanks for the recommendation to use TCP. Actually I want to use UDP in
> a system called DIPC (Distributed Inter-Process Communication.) It already
> has TCP support. The main attraction of UDP is its speed in sending smaller
> and independent packets.
>
> My real problem, however, is that I could not send more than 3250 bytes
> ever! Not a single time. It is hard to attribute such a consistent error
> with transient reasons. I've had very little difficulty with 3250 and
> less amounts of data (a 57600 bps point-to-point connection is not very
> noisy, or very speedy for a 486 to handle).
>
> Could there be an inherent limitation in the kernel or other user-space
> networking code?
I've had no problems sending UDP packets as large as 8k (payload) over
loopback and (ne2000) ethernet, on kernel 2.1.29. My only problem was
that sometimes some data would never arrive at the receiver, even using
TCP, even when no sends returned errors...I chalked it up to a bug in
my code, though the losses did coincide with "socket destroy delayed"
messages. I figure it's been fixed by now, but have been too wary of
the new "kernels" to actually try one.

Anyway, try running the "far end" on the same machine, and see if that
changes anything...

Keith