Lines Matching refs:port
8 $port = rand(50000, 65535);
10 …$socket = stream_socket_server("tcp://127.0.0.1:$port", $errno, $errstr, STREAM_SERVER_BIND|STREAM…
12 //set anther random port that is not the same as $port
15 }while($pasv_port == $port);
220 $port = ((int)$m[5] << 8) + (int)$m[6];
228 if (!$fs = stream_socket_client("tcp://$host:$port")) {
281 if (!$fs = stream_socket_client("tcp://$host:$port")) {
325 else if (!$fs = stream_socket_client("tcp://$host:$port")) {
370 $port = $pasv_port;
371 $p2 = $port % ((int) 1 << 8);
372 $p1 = ($port-$p2)/((int) 1 << 8);