Simple tcp server

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


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

Code :  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:
Sent from the Erlang Questions mailing list archive at

More information about the erlang-questions mailing list