(PHP 4 >= 4.1.0, PHP 5, PHP 7)
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 len bytes of data in buf from name on port port (if the socket is not of type AF_UNIX) using socket. socket_recvfrom() can be used to gather data from both connected