in reply to Re^2: [threads] Sharing object through threads
in thread [threads] Sharing object through threads
Sockets are nothing but file handles. Share the file handle number (fileno($client)) and recreate the object on the other side.
Catch: You can't close the socket in the parent.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: [threads] Sharing object through threads
by BrowserUk (Patriarch) on Nov 17, 2009 at 20:46 UTC | |
by ikegami (Patriarch) on Nov 17, 2009 at 22:13 UTC | |
by BrowserUk (Patriarch) on Nov 17, 2009 at 22:22 UTC | |
by ikegami (Patriarch) on Nov 17, 2009 at 22:30 UTC |