PHP funkce stream_socket_sendto()
Dostupnost ve verzích: PHP 5.0
Sends a message to a socket, whether it is connected or not
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka | ||
|---|---|---|---|---|---|
$socket |
resource |
není | The socket to send data to. | ||
$data |
string |
není | The data to be sent. | ||
$flags |
int |
null, | The value of flags can be any combination of the following:
|
||
$address |
string |
null | The address specified when the socket stream was created will be used unless an alternate address is specified in address. |
Návratové hodnoty
int
a result code, as an integer.