1. I would assume, (possibly incorrectly) that using the Socket or IO::Socket modules would provide the inherent ability to open more than one tcp socket for send/receive. Although i could see being limited in having more than one [socket bound to a] filehandle open, there are always a billion ways to do something in perl.<br>
<br>2. I've seen someone do a sleep(undef, undef, undef, 0.2); to wait a quarter-second, but i can't confirm it works.<br><br>good luck :)<br><br><div class="gmail_quote">2009/12/9 Bob Kleemann <span dir="ltr"><<a href="mailto:rkleeman@energoncube.net">rkleeman@energoncube.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alex,<br><br>I know that you can do what you are looking for, but I haven't done them myself. Therefore I'm forwarding your message to the group to see who has some answers for you.<br>
<br>Perl Mongers<br><br>Can you help Alex out. Please include his address on replies, as I don't believe he is subscribed to our mailing list yet. (Alex, see our website for information about subscribing to our low-volume list.)<br>
<br><div class="gmail_quote">On Tue, Dec 8, 2009 at 11:00 PM, Alex (Yu) Hu <span dir="ltr"><<a href="mailto:foxele@gmail.com" target="_blank">foxele@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi:<br><br>I am sorry to E-mail you like this. My name is Alex Hu. I am living in San Diego. I am working on a perl program that<br>is suppose to be a test application running on PC. <br><br>I got your E-mail address by following links from Perl Monger website. I needed help urgently and I<br>
don't know where to turn to. That's why I am trying your E-mail address.<br><br>If you don't mind, I have two questions regarding Perl:<br><br>1. The perl program I am running has a network interface which is acting like a TCP client. For some<br>
reason, I want the client to send message on one port and receive message on the other port. Is this<br>possible in perl? I have a module does the send and receive on one port, but I don't know how to <br>add a second one.<br>
<br>2. Is there a event scheduler modules I can use to schedule the sending of a message say several milisecond in the future.<br><br>Once again, I am sorry about my E-mail.<br><br>Thanks. <br>-- <br><font color="#888888">Alex Hu<br>
</font></blockquote></div><br>
<br>_______________________________________________<br>
San-Diego-pm mailing list<br>
<a href="mailto:San-Diego-pm@pm.org">San-Diego-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/san-diego-pm" target="_blank">http://mail.pm.org/mailman/listinfo/san-diego-pm</a><br></blockquote></div><br><br clear="all"><br>-- <br>Respectfully,<br><br>Chris Hart<br>Systems Administrator<br>
Extrameasures, LLC.<br>8910 University Center Lane, Suite 475<br>San Diego, CA 92122<br>Office - 858.546.1052 x32<br>Fax - 858.546.1057<br><br>