views:

56

answers:

1

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 completed before closing the socket. However, I find it difficult to believe that PHP can't interrupt the handshake.

Is it possible? If so, how?

A: 

No, It is not possible.

crrodriguez