Simple tcp server

shk <>
Sun Jan 16 18:36:30 CET 2011


Hello,

I'm new in erlang and try to write simple tcp server. 

Code :  https://gist.github.com/781975  My Code 

I start server, then connect some client with help telnet. When I try to
stop it i call stop() And after it thats CPU engaged 97-100 %. I think that
i must close socket. How can I make it correctly? And just do the correct
terminate server?

Thank you.

-- 
View this message in context: http://erlang.2086793.n4.nabble.com/Simple-tcp-server-tp3220218p3220218.html
Sent from the Erlang Questions mailing list archive at Nabble.com.


More information about the erlang-questions mailing list