This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Check connected tcp ports
#2
Each script is a separate OS process, this means you cannot access other process resources directly. You can create a local UDP server in your resident script which to proxy data from event scripts: https://forum.logicmachine.net/showthrea...15#pid2015

You can get a list of currently open TCP client connections like this:
Code:
clients = io.readproc('netstat -ptn | grep ESTABLISHED')
Reply


Messages In This Thread
Check connected tcp ports - by buuuudzik - 22.06.2017, 12:24
RE: Check connected tcp ports - by admin - 22.06.2017, 12:32
RE: Check connected tcp ports - by mlaudren - 23.06.2017, 12:27
RE: Check connected tcp ports - by buuuudzik - 23.06.2017, 14:12
RE: Check connected tcp ports - by mlaudren - 23.06.2017, 14:37
RE: Check connected tcp ports - by buuuudzik - 23.06.2017, 14:51
RE: Check connected tcp ports - by admin - 23.06.2017, 17:29
RE: Check connected tcp ports - by rocfusion - 25.06.2017, 21:50

Forum Jump: