gen_udp looses datagrams

Luke Gorrie luke@REDACTED
Fri May 19 02:18:40 CEST 2000

"Vance Shipley" <vances@REDACTED> writes:

> We're finding that when we have an active UDP socket
> we can, and do, loose incoming datagrams.  At times
> we will receive only the latter of two packets sent
> immediately after one another.  Why would this be?

Datagrams are unreliable by nature. They're really low-level, just IP
packets annotated with port numbers afaik - they're not guaranteed to
arrive, and may arrive out of order. For reliability you need to come
up with some sort of scheme to compensate for lost or reordered
packets, or use TCP.


More information about the erlang-questions mailing list