[erlang-questions] gen_tcp:send timeout

Holger Weiß holger@REDACTED
Thu Nov 13 11:09:03 CET 2014


* Dmitry Kolesnikov <dmkolesnikov@REDACTED> [2014-11-12 11:16]:
> I've not discovered yet the reason but my sender process is stacked at
> {current_function,{prim_inet,send,3}}
> 
> The timeout will help me but I'am confused on the way to achieve it
> 
> * gen_tcp provides an option {send_timeout, xxx}. The documentation says
>   "The fact that the send call does not accept a timeout option, is
>   because timeouts on send is handled through the socket option
>   send_timeout."

I'm confused, too.  Is your process getting stuck in prim_inet:send/3
even though you specified this option?  Or is your question whether/how
to use it?

Holger



More information about the erlang-questions mailing list