Maybe I am just missing the obvious, but I just can't seem to find any PHP functions that can communicate with an open socket without having a reference to that socket. For example, functions such as socket_send and socket_sendto all require "a valid socket resource created with socket_create() or socket_accept()" as a parameter. The reference to the running socket is in another script that I can't access for obvious reasons.
So I am probably missing the obvious here, but I just need to know which PHP functions I would need to use. Thanks!