This class will fork a new process for each connection. This allows you to build servers, where communication between the clients is no issue.
Events that can be handled:
onStart
onConnect
onClose
onReceiveData
PEAR
Net_Server_Driver_Fork
Net_Server_Driver_Fork Inherited Methods
Table 48-1. Inherited from Net_Server_Driver
Method Name | Summary |
---|---|
Net_Server_Driver::getLastSocketError() | return string for last socket error |
Net_Server_Driver::setCallbackObject() | register a callback object, that is used to handle all events |
Net_Server_Driver::setDebugMode() | set debug mode |