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.
In reply to Re^3: [threads] Sharing object through threads
by ikegami
in thread [threads] Sharing object through threads
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |