gen_tcp:recv - last segement when closed port

Valentin Micic valentin@REDACTED
Sat Mar 11 12:51:22 CET 2006


Could it be that default receive buffer is somehow set to 1K?. If so, try to 
increase it using:
inet:setopts( Sock, [{recbuf, Integer}] ).

Valentin.






More information about the erlang-questions mailing list