gen_tcp:recv - last segement when closed port
jmT2
johan@REDACTED
Sat Mar 11 21:13:54 CET 2006
Should add that I'm running Windows XP Professional SP2. The behaviour is
probably OS specific since it has to do with how tcp buffers and sends
packets. Didn't get a Ethereal trace since it the traffic was all local on
one machine.
> I've tried to reconstruct the senario with the tcpbug. Tried to set
> {dealy_send, true} on the server so that the last 1199 bytes should be
> buffered and only sent when the socket was closed. Hmm, try the below, I
> get the wriong reply every fifth run:
-----------
Johan Montelius jmT2
More information about the erlang-questions
mailing list