1--TEST-- 2string stream_socket_recvfrom ( resource $socket , int $length [, int $flags = 0 [, string &$address ]] ); 3--CREDITS-- 4marcosptf - <marcosptf@yahoo.com.br> - #phparty7 - @phpsp - novatec/2015 - sao paulo - br 5--FILE-- 6<?php 7$serverUri = "tcp://127.0.0.1:31856"; 8$sock = stream_socket_server($serverUri, $errno, $errstr); 9$sockLen = 1500; 10 11var_dump(stream_socket_recvfrom($sock, $sockLen)); 12var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_OOB)); 13var_dump(stream_socket_recvfrom($sock, $sockLen, STREAM_PEEK)); 14?> 15--EXPECT-- 16bool(false) 17bool(false) 18bool(false) 19