[erlang-questions] process exits while calling gen_tcp:listen
Brian Cully
bcully@REDACTED
Fri Jan 11 04:56:38 CET 2008
You need to accept on this socket in the listentest process,
otherwise it exits almost immediately. gen_tcp:listen/2 is only
suitable for binding to a port with a set of options. Once you've
bound the port, you still need to accept connections on it in order to
do anything.
-bjc
On 10-Jan-2008, at 22:21, Mikage Sawatari wrote:
> erl -boot start_sasl -s listentest start
More information about the erlang-questions
mailing list