[erlang-questions] getting file descriptor from socket

Steve Vinoski vinoski@REDACTED
Thu Apr 2 22:04:24 CEST 2009

On 4/2/09, Rapsey <rapsey@REDACTED> wrote:
> Is it possible to get the file descriptor from a socket? The point is to use
> it in a linked in driver.

prim_inet:getfd/1, assuming it succeeds it returns {ok, Fd}

Undocumented, so use it at your own risk.


More information about the erlang-questions mailing list