diff options
Diffstat (limited to 'ext/sockets/tests/socket_bind.phpt')
-rw-r--r-- | ext/sockets/tests/socket_bind.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/tests/socket_bind.phpt b/ext/sockets/tests/socket_bind.phpt index 7ea2df8e1c..82ee1d1be3 100644 --- a/ext/sockets/tests/socket_bind.phpt +++ b/ext/sockets/tests/socket_bind.phpt @@ -18,11 +18,11 @@ fa@php.net $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $s_bind = socket_bind($s_c, '0.0.0.0', 31330+$rand); var_dump($s_bind); - + // Connect to destination address $s_conn = socket_connect($s_c, 'www.php.net', 80); var_dump($s_conn); - + // Write $request = 'GET / HTTP/1.1' . "\r\n"; $s_write = socket_write($s_c, $request); |