Events in Perl

T

Tarscher

Hi all,

My Perl script should be able to send commands over tcp/ip and read
incomming data also over tcp/ip. The commands should be send
continiously but when an incomming package is detected certain code in
the script should be activated.

Someone has an idea how this is best handled?

Best regards
Stijn
 
D

David Squire

Tarscher said:
Hi all,

My Perl script should be able to send commands over tcp/ip and read
incomming data also over tcp/ip. The commands should be send
continiously but when an incomming package is detected certain code in
the script should be activated.

Someone has an idea how this is best handled?

I suggest that you go to http://search.cpan.org/ and search for tcp/ip.
This suggests several candidate modules that do the sorts of things you
want, such as Net::EasyTCP

DS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top