Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

IPv6 Sockets

by nitin1704 (Sexton)
on Dec 10, 2012 at 03:40 UTC ( #1008024=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Socket;
    use Socket;
    ...
    print $sock->sockport(),"\n";
    print $sock->peerhost(),"\n";
    print $sock->peerport(),"\n";
    
  2. or download this
    use IO::Socket::INET6;
    use Socket;
    ...
    print $sock->sockport(),"\n";
    print $sock->peerhost(),"\n";
    print $sock->peerport(),"\n";
    
  3. or download this
    0.0.0.0
    32807
    10.254.83.40
    23456
    
  4. or download this
    ::
    -4622771466457284569
    2000:1234:5678:9abc::eeff
    -4622771466457293920
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008024]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-07-04 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls