Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 browsing the Monastery: (6)
As of 2014-10-01 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls