gen_tcp:send with timeout

Eric Newhuis <>
Wed Jan 28 22:27:19 CET 2004

Is there a "standard" idiom for calling gen_tcp:send with a timeout?

I'd like to say gen_tcp:send(Socket, Data, Timeout) but there is no 
such (documented) function, my server is queueing, and my process is 
blocked forever.

More information about the erlang-questions mailing list