[erlang-questions] How to specify receiver for erl_drv_send_term

streamingmind@gmail.com streamingmind@REDACTED
Mon Jun 23 14:02:58 CEST 2014

Hi all,

I've been practicing writing a port driver for a legacy SIGTRN product. In attempting to send back data from the port driver to a erlang process, I don't know how to convert existing  erlang_pid data to a ErlDrvTerm data which is required by erl_drv_send_term(), as the receiver parameter. It'll be graceful if somebody here could give me a hand.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140623/a41bb91a/attachment.htm>

More information about the erlang-questions mailing list