[erlang-questions] gen_tcp nonblocking send

Dave Smith dizzyd@REDACTED
Thu May 1 02:11:59 CEST 2008


On Wed, Apr 30, 2008 at 5:01 PM, Daniel Ginsburg <dg@REDACTED> wrote:
>
>  Well, gen_tcp:send does block, and it is quite easy to verify it.

You are, of course, right. :) A little digging turned up this link

http://www.erlang.org/pipermail/erlang-questions/2006-April/019924.html

where it discuss how the port is marked as busy and thus blocks the
caller while the buffers are emptied. Very interesting and very stupid
of me to comment without being certain of it. :) Thanks for helping me
learn a bit more.

D.



More information about the erlang-questions mailing list