Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Monitor two port with one script?

Status
Not open for further replies.

cirrus

Technical User
Aug 20, 2003
5
Is it possible that one script can monitor incoming data on two ports and take action depending on what data is received on any given port?

If so can you provide a small example as I am not a programmer and it take me a while to understand the programming technics.

Much appreciated,

Nick
 
One instance of Procomm can only listen on one port at a time, so you would need to have two copies of Procomm, each listening on a separate port and with their own script. You would need to use a mechanism of some sort, such as Procomm's global variables or DDE, to share information between the two scripts if necessary.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top