Hi,<br><br><div><span class="gmail_quote">On 12/14/06, <b class="gmail_sendername"><a href="mailto:kg9020@gmail.com">kg9020@gmail.com</a></b> <<a href="mailto:kg9020@gmail.com">kg9020@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am looking for  documentation that shows how to connect to port <br>port_command(Port, Data) .... i know the port is the Pid, <br>i have not been able to find format .... <br>example PID <0.153><br>so is it port_command(<
0.153> or 0.153 or 153 or ...... man says PID but does not say the <br>format of PID ... as from the shell i see most pids  as <0.XXXX> ... so if some one can point to where in documentation I can find this information ... thanks
<br></blockquote></div><br>You can't enter pids as text in a program. They are returned by spawn and can be sent to other processes.<br><br>That said, there is a debugging feature that allows you to dynamically build pids: the function c:pid(A,B,C) returns <
A.B.C>. However, this is useless except for debugging, since if you can't know A, B and C but from a pid you received from elsewhere, so you can just as well use the pid directly.<br><br>regards,<br>Vlad<br><br>