Trigger events across networks using TCP/IP sockets