标签: php sockets fsockopen
这是我的问题: 仅当套接字函数没有socket_set_nonblock选项或stream_set_blocking(对于fsockopen)设置为FALSE时,FIN和RST数据包才能正确检测。 PHP中是否有一种方法可以在套接字关闭时手动检测?
socket_set_nonblock
stream_set_blocking
答案 0 :(得分:0)
使用课程怎么样?你会确定它是用析构函数关闭的