Lines Matching refs:socket
2 bool socket_shutdown ( resource $socket [, int $how = 2 ] ) ;
26 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
27 $socketConn = socket_connect($socket, $host, $port);
28 var_dump(socket_shutdown($socket,0));
29 socket_close($socket);
31 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
32 $socketConn = socket_connect($socket, $host, $port);
33 var_dump(socket_shutdown($socket,1));
34 socket_close($socket);
36 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
37 $socketConn = socket_connect($socket, $host, $port);
38 var_dump(socket_shutdown($socket,2));
39 socket_close($socket);
41 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
42 var_dump(socket_shutdown($socket,0));
44 $socketConn = socket_connect($socket, $host, $port);
45 var_dump(socket_shutdown($socket,-1));
46 socket_close($socket);
52 unset($socket);
60 …hutdown socket [%d]: A request to send or receive data was disallowed because the socket is not co…
63 Warning: socket_shutdown(): Unable to shutdown socket [%d]: An invalid argument was supplied in %s …