[erlang-questions] Multiple read and write ports to an external process

Jeremy Ong jeremy@REDACTED
Mon Feb 18 23:31:18 CET 2013


I am interested in using Erlang ports for process interop. Currently,
`open_port` only seems to allow spawning communication on 1 read and 1
write port. Is there a reason we are limited to just these 2 file
descriptors? It seems like it could be advantageous to customize the fd
usage more (for example, forward errors or analytics data on fd 3). Is
there any built-in way of doing this without resorting to writing nifs?

Cheers,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130218/1fe87612/attachment.htm>


More information about the erlang-questions mailing list