我的C++服务器可以接受来自C++客户端和其他服务的客户端,比如,这是一个检查您使用的端口是否打开的工具。这些服务起作用了。但是,在HostGator上运行的PHP脚本,无论服务器是否启动,都无法连接到我的C++服务器,我完全不知道为什么。是的,我已经通过我的路由器打开了端口。php $port = "<TCP PORT C++ SERVER IS USING H
In file included from services.cpp:1:0,services.h:23:2: error: âSOCKETâstdio.h>#include <string.h>#include <stdarg.h>
#include <sys/socket.h); //perhaps init so