when I do
$socket=socket_create(AF_INET, SOCK_STREAM, SOL_TCP))
it blocks. Nothing happens.
here is the code :
I copied it from php.net
I am using webmatrix , and IIS , Not apachi. maybe this causes the problem
Expand|Select|Wrap|Line Numbers
- error_reporting(E_ALL);
- set_time_limit(0);
- ob_implicit_flush();
- $address = '192.168.0.233';
- $port = 1000;
- echo "address is : $address --- <br/><br/><br/>" ;
- echo "before socket_create ... <br/> " ;
- $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) ;
- echo "after socket_create <br/> " ;
and then, nothing happens