We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04101e2 commit e08ffb9Copy full SHA for e08ffb9
README.md
@@ -34,6 +34,11 @@ Here is a server that closes the connection if you send it anything.
34
$socket->listen(1337);
35
36
$loop->run();
37
+
38
+You can change the host the socket is listening on through a second parameter
39
+provided to the listen method:
40
41
+ $socket->listen(1337, '192.168.0.1');
42
43
Here's a client that outputs the output of said server and then attempts to
44
send it a string.
0 commit comments