Send - buffer overrun

Inswitch Solutions erlang@REDACTED
Tue Apr 4 17:17:34 CEST 2006


Hi,

I have a TCP/IP Client in Erlang and doing some stressing on it I've noticed that the gen_tcp:send/2 function blocks.
About send function in MSDN doc:
    "If no buffer space is available within the transport system to hold the data to be transmitted, send will block unless the socket has been placed in a nonblocking mode"

In Erlang I can't use select or other async functions. Is there any solution for this in Erlang?


thanks,  Eduardo


     Prepaid Expertise - Programmable Switches 
      Powered by Ericsson Licensed Technology
      Eng. Eduardo Figoli - Development Center - IN Switch Solutions Inc.
      Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax: 1305-7686260
      Development Center - Montevideo - Uruguay Tel/Fax: 5982-7104457
      e-mail: eduardo@REDACTED

     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060404/837c7bff/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1429 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060404/837c7bff/attachment.gif>


More information about the erlang-questions mailing list