[erlang-questions] enotconn from gen_tcp socket
Sergei Fomin
dafgar@REDACTED
Fri Jun 8 15:35:01 CEST 2012
Hello.
There is a server which gen_tcp:accept new connections and immediately
logs inet:peername. But still, "Accepted {error,enotconn}" can be seen
in the log files. One possible reason of such error is described in
http://erlang.org/pipermail/erlang-questions/2012-May/066802.html , i.e.
a client does 3-way handshake and sends RST packet immediately. Though,
this scenario seems uncommon.
Wonder, what other causes can lead to enotconn on just opened socket?
--
Sergei Fomin
More information about the erlang-questions
mailing list