|
socket_sendto(PHP 4 >= 4.1.0, PHP 5) socket_sendto — Sends a message to a socket, whether it is connected or not Описание
int socket_sendto
( resource $socket
, string $buf
, int $len
, int $flags
, string $addr
[, int $port = 0
] )
The function socket_sendto() sends len bytes from buf through the socket socket to the port at the address addr. Список параметров
Возвращаемые значенияsocket_sendto() returns the number of bytes sent to the remote host, or FALSE if an error occurred. Примеры
Пример #1 socket_sendto() Example
<?php |
|||||||||