Skip to content

Commit 528a69a

Browse files
committed
Improve IO::Socket::INET.accept() documentation.
Specify that a new socket instance is returned by such method. Close issue #1929. Description as of rakudo source 2018.01.
1 parent 32065f7 commit 528a69a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Type/IO/Socket/INET.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Returns a lazy list of lines read from the socket.
8989
9090
method accept()
9191
92-
In listen/server mode, waits for a new incoming connection, and returns it.
92+
In listen/server mode, waits for a new incoming connection.
93+
Once a new connection is established, the C<IO::Socket::INET>
94+
instance for consuming the connection is returned.
9395
9496
=end pod

0 commit comments

Comments
 (0)