|
Swoole\Client::sendSend data to the remote TCP socket. Descriptionpublic int Swoole\Client::send(string
$data , string $flag = ?)
Parameters
Return ValuesIf the client sends data successfully, it returns the length of data sent. Or it returns false and sets $swoole_client->errCode. For sync client, there is no limit for the data to send. For async client, The limit for the data to send is socket_buffer_size. |