[erlang-questions] SysV IPC
Steve Vinoski
vinoski@REDACTED
Wed Sep 16 21:35:41 CEST 2009
On Wed, Sep 16, 2009 at 3:07 PM, Paul Mineiro <paul-trapexit@REDACTED>wrote:
> Well you can get at the file descriptor with a linked-in driver. The heat
> would be to convert that into a gen_tcp instance but I don't see anything
> in the public API that would facilitate that.
>
You can pass {fd, Fd} as an option to gen_tcp:connect or gen_tcp:listen to
use an existing file descriptor. Works great.
--steve
More information about the erlang-questions
mailing list