[erlang-questions] TCP Kernel bug/feature

Tony Finch dot@REDACTED
Fri May 18 10:39:12 CEST 2007


On Thu, 17 May 2007, Tom Samplonius wrote:
>
>   I think this is way it is supposed to work.  A socket is a unique pair
> of source and destination ports.  You run a server on 12345, and then
> connect from 12345 to 12345.  So that is a legal socket.  This should
> work this way on most OSes.

No, he is connecting from an ephemeral port not from 12345.

Tony.
-- 
f.a.n.finch  <dot@REDACTED>  http://dotat.at/
VIKING NORTH UTSIRE SOUTH UTSIRE: SOUTHERLY 5 TO 7, OCCASIONALLY GALE 8.
MODERATE OR ROUGH, OCCASIONALLY VERY ROUGH. RAIN OR SHOWERS. MODERATE OR GOOD.



More information about the erlang-questions mailing list