Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

IPv6 Sockets

by nitin1704 (Sexton)
on Dec 10, 2012 at 03:40 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found