Passive sockets

Jim Larson jim@REDACTED
Sat Oct 23 01:15:49 CEST 1999


In message <199910222040.WAA27392@REDACTED> Per Hedeland
writes:
>Despite what the docs say, both passive UDP and TCP sockets seem to
>work just fine in 47.4.1 (tried it on Solaris 2.6 and FreeBSD 3.1,
>with {packet, raw}). What problems are you having?

Ack - you're right.  I must not be setting the controlling_process
correctly.

Here's a correction for the documentation team:  the kernel's
gen_udp:recv() may return {ok, {IP, Port, Packet}} instead of {ok,
Packet}.

Jim



More information about the erlang-questions mailing list