<div style="font-size:10pt;"><div><!--SIGNATURE START--><div><p style="margin-top:0;margin-bottom:0;"><streamingmind@gmail.com>Hi all,</p></div><!--SIGNATURE END--></div><div style="font-size:10pt;"><div><!--SIGNATURE START--><div><p style="margin-top:0;margin-bottom:0;"> </p><p style="margin-top:0;margin-bottom:0;">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.</p><p style="margin-top:0;margin-bottom:0;"> </p><p style="margin-top:0;margin-bottom:0;">Regards,</p><p style="margin-top:0;margin-bottom:0;">Ben</p></div><!--SIGNATURE END--></div><p id="last_enter" style="margin-top:0;margin-bottom:0;"> </p></div></div>