update : 2015.11.03
php.shukuma.com검색:
|
socket_recvfrom(PHP 4 >= 4.1.0, PHP 5) socket_recvfrom — Receives data from a socket whether or not it is connection-oriented 설명
int socket_recvfrom
( resource
$socket
, string &$buf
, int $len
, int $flags
, string &$name
[, int &$port
] )
The socket_recvfrom() function receives
The 인수
반환값
socket_recvfrom() returns the number of bytes received,
or 예제
Example #1 socket_recvfrom() example
<?php This example will initiate a UDP socket on port 1223 of 127.0.0.1 and print at most 12 characters received from a remote host. 변경점
참고
|