<div dir="ltr">2008/10/9 Serge Aleynikov <span dir="ltr"><<a href="mailto:saleyn@gmail.com">saleyn@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Robert Virding wrote:<br><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- Modify your program so that you start a local group leader/io-server which<br>
does the formatting and just send the output iolists to the <a href="http://otp.net" target="_blank">otp.net</a> process.<br>
</blockquote>
<br></div>
The <a href="http://otp.net" target="_blank">otp.net</a> node already has a mailbox for getting messages destined to the io_server, and rpc requests carry the pid of that mailbox.  Ideally I wouldn't need to have another "proxy" io_server on the Erlang side that would format and send requests to the connected <a href="http://otp.net" target="_blank">otp.net</a> hidden node.</blockquote>
<div><br>One reason I suggested this was for doing input. While for output you can modify io so that calling io_lib is done locally in the application process this does not work for input. For input the io-server has to be able to evaluate erlang functions, which I reckon can't be done in the <a href="http://otp.net">otp.net</a> node.<br>
<br>Robert<br><br></div></div></div>