about socket problem
Yu-Teh Shen
shenyute@REDACTED
Tue Sep 1 05:52:19 CEST 2009
I got a question about erlang socket.
Now I have a server(written by erlang) and a client(written by C).
Client create a socket connection to server and then idle for a long time.
After that, I kill client process, but I found out that the server didn't
know client was been killed!
And I use netstat -pan in server, the connection is still exist!
Is there anyway, the server can detect client had been killed? Like using
poll function in C socket (error code POLLERR or POLLHUP)
Thanks a lot!
Shen, Yu-Teh
More information about the erlang-questions
mailing list