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.
精彩评论