summaryrefslogtreecommitdiff
path: root/Socket.pm
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-08-15 19:13:42 +0000
committerintrigeri <intrigeri@boum.org>2013-08-15 21:13:42 +0200
commita020f647d9e437fa790ee0cd49f74fcb2656b39f (patch)
treeec6b27f423a184bbceccca14058184e82cff406d /Socket.pm
parenteda753567819d56ef97a2052bbd67441e8001e8c (diff)
Imported Upstream version 2.011
Diffstat (limited to 'Socket.pm')
-rw-r--r--Socket.pm12
1 files changed, 9 insertions, 3 deletions
diff --git a/Socket.pm b/Socket.pm
index c0dc4aa..68a7722 100644
--- a/Socket.pm
+++ b/Socket.pm
@@ -3,7 +3,7 @@ package Socket;
use strict;
{ use 5.006001; }
-our $VERSION = '2.006';
+our $VERSION = '2.011';
=head1 NAME
@@ -108,6 +108,10 @@ C<SOL_SOCKET> level.
Socket option name constants for IPv4 socket options at the C<IPPROTO_IP>
level.
+=head2 IPTOS_LOWDELAY, IPTOS_THROUGHPUT, IPTOS_RELIABILITY, ...
+
+Socket option value constants for C<IP_TOS> socket option.
+
=head2 MSG_BCAST, MSG_OOB, MSG_TRUNC, ...
Message flag constants for send() and recv().
@@ -578,8 +582,8 @@ service on the named host.
print <$sock>;
Because a list of potential candidates is returned, the C<while> loop tries
-each in turn until it it finds one that succeeds both the socket() and
-connect() calls.
+each in turn until it finds one that succeeds both the socket() and connect()
+calls.
This function performs the work of the legacy functions gethostbyname(),
getservbyname(), inet_aton() and pack_sockaddr_in().
@@ -759,6 +763,8 @@ our @EXPORT_OK = qw(
IPPROTO_IP IPPROTO_IPV6 IPPROTO_RAW IPPROTO_ICMP IPPROTO_TCP
IPPROTO_UDP
+ IPTOS_LOWDELAY IPTOS_THROUGHPUT IPTOS_RELIABILITY IPTOS_MINCOST
+
TCP_CONGESTION TCP_CONNECTIONTIMEOUT TCP_CORK TCP_DEFER_ACCEPT TCP_INFO
TCP_INIT_CWND TCP_KEEPALIVE TCP_KEEPCNT TCP_KEEPIDLE TCP_KEEPINTVL
TCP_LINGER2 TCP_MAXRT TCP_MAXSEG TCP_MD5SIG TCP_NODELAY TCP_NOOPT