Using TCP sockets with 'receive' instead 'gen_tcp:recv/2'

Jérémie Lumbroso <>
Sun Mar 26 19:01:55 CEST 2006


On 3/26/06, Jérémie Lumbroso <> wrote:
>
> This is the code that I use to create the listening socket:
>
> gen_tcp:listen(?port, [binary,
>                        {nodelay, true},
>                        {packet, 0},
>                        {reuseaddr, true},
>                        {active, false}])
>
>
BTW, I have indeed tried setting active to true here. And the problem
persists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060326/d301df6c/attachment.html>


More information about the erlang-questions mailing list