Skip to content

Commit c31172e

Browse files
committed
Add : in front of all pair descriptions in IO::Socket::INET.new.
1 parent 9cd346a commit c31172e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/Type/IO/Socket/INET.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ multi method new(
5959
6060
Creates a new socket.
6161
62-
If C<:$listen> is True, creates a new socket that listen on C<$localhost>
63-
(which can be an IP address or a domain name) on port C<$localport>; in other words
62+
If C<:$listen> is True, creates a new socket that listen on C<:$localhost>
63+
(which can be an IP address or a domain name) on port C<:$localport>; in other words
6464
the C<:$listen> flag determines the I<server mode> of the socket.
6565
Otherwise (i.e., C<:$listen> is C<False>), the new socket opens immediatly
66-
a connection to C<$host> on port C<$port>.
66+
a connection to C<:$host> on port C<:$port>.
6767
68-
C<$family> defaults to C<PF_INET> constant for IPv4, and can be set
68+
C<:$family> defaults to C<PF_INET> constant for IPv4, and can be set
6969
to C<PF_INET6> constant for IPv6.
7070
7171
For text operations (such as L<#method lines> and L<#method get>),
72-
C<$encoding> specifies the encoding, and C<$nl-in> determines
72+
C<:$encoding> specifies the encoding, and C<:$nl-in> determines
7373
the character(s) that separate lines.
7474
7575
=head1 Methods

0 commit comments

Comments
 (0)