我有以下内容:
$host = "192.168.0.117";
$port = 777;
set_time_limit(0);
$socket = socket_create(AF_INET, SOCK_STREAM, 0) or die("Could not createsocket\n");
$result = socket_listen($socket, 3) or die("Could not set up socket listener\n");
该变量result
给了我一个错误:
无法在套接字 [0] 上侦听:提供的参数无效