Lines Matching refs:socket
2 bool socket_shutdown ( resource $socket [, int $how = 2 ] ) ;
19 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
20 $socketConn = socket_connect($socket, $host, $port);
21 var_dump(socket_shutdown($socket,0));
22 socket_close($socket);
24 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
25 $socketConn = socket_connect($socket, $host, $port);
26 var_dump(socket_shutdown($socket,1));
27 socket_close($socket);
29 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
30 $socketConn = socket_connect($socket, $host, $port);
31 var_dump(socket_shutdown($socket,2));
32 socket_close($socket);
34 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
35 var_dump(socket_shutdown($socket,0));
37 $socketConn = socket_connect($socket, $host, $port);
38 var_dump(socket_shutdown($socket,-1));
39 socket_close($socket);
45 unset($socket);
53 …hutdown socket [%d]: A request to send or receive data was disallowed because the socket is not co…
56 Warning: socket_shutdown(): Unable to shutdown socket [%d]: An invalid argument was supplied in %s …