开发者

Interrupting the TCP handshake with PHP's fsockopen()?

开发者 https://www.devze.com 2022-12-30 10:58 出处:网络
Take for example: fsockopen(tcp:\\\\example.com, 80, $errno, $errstr, 5) My friend has just informed me that PHP will always wait for the TCP handshake to be complete开发者_如何学编程d before closin

Take for example:

fsockopen(tcp:\\example.com, 80, $errno, $errstr, 5)

My friend has just informed me that PHP will always wait for the TCP handshake to be complete开发者_如何学编程d before closing the socket. However, I find it difficult to believe that PHP can't interrupt the handshake.

Is it possible? If so, how?


No, It is not possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消