Skip to content

Commit 5b48c19

Browse files
committed
doc methods {socket,peer}-{host,port} of IO::Socket::Async
1 parent 5a2cd9d commit 5b48c19

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/Type/IO/Socket/Async.pod6

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,20 @@ L<Promise>.
210210
In order to close the underlying listening socket created by C<listen> you
211211
can C<close> the L<Tap>. See C<listen> for examples.
212212
213+
=head2 method socket-host
214+
215+
Returns the IP address of the local end of this socket.
216+
217+
=head2 method peer-host
218+
219+
Returns the IP address of the remote end of this socket.
220+
221+
=head2 method socket-port
222+
223+
Returns the port of the local end of this socket.
224+
225+
=head2 method peer-port
226+
227+
Returns the port of the remote end of this socket.
228+
213229
=end pod

0 commit comments

Comments
 (0)