void Net_Server_Handler::onReceiveData (
integer $clientId = 0
, string $data = ""
)
This handler is called, when a client sends data to the server Available in:
Net_Server_Sequential
Net_Server_Fork
$clientId
unique id of the client, in Net_Server_Fork, this is always 0
$data
data that the client sent
throws no exceptions thrown
This function can not be called statically.