| PHP » GoLang | login |
            register |
            
            about | 
| GoLang socket_recvfrom
                                request it (572)
                            GoLang replacement for PHP's socket_recvfrom
                            [edit | history] 
                             socket_recvfrom(PHP 4 >= 4.1.0, PHP 5, PHP 7) socket_recvfrom — Receives data from a socket whether or not it is connection-oriented Description
   int socket_recvfrom
    ( resource  $socket, string&$buf, int$len, int$flags, string&$name[, int&$port] )
   The socket_recvfrom() function receives
    
   The  Parameters
 
 Return Values
   socket_recvfrom() returns the number of bytes received,
   or  Examples
 Example #1 socket_recvfrom() example 
<?phpThis 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. Changelog
 
 See Also
 
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |