Net_Server_Handler::onReceiveData

Net_Server_Handler::onReceiveData()

Net_Server_Handler::onReceiveData() -- onReceiveData handler

Description

This handler is called, when a client sends data to the server Available in:

  • Net_Server_Sequential

  • Net_Server_Fork

Parameter

integer $clientId

unique id of the client, in Net_Server_Fork, this is always 0

string $data

data that the client sent

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.