Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Net::Ping IPv6 Support

by tlhackque (Acolyte)
on Feb 11, 2013 at 12:14 UTC ( #1018130=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Net::Ping IPv6 Support
in thread Net::Ping IPv6 Support

Sorry to see no progress. Perhaps this will help (I added it to the CPAN bug report):

With respect to the questions about the patch:

A quick search turns up the source for ping6 at http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ping6/ping6.c?rev=1.81&content-type=text/x-cvsweb-markup&only_with_tag=MAIN

Checksum:

The header checksum field is initialized to zero, but not computed - I assume (but haven't dug in) that sendmsg computes.

Source address:

When no explicit interface is bound, the source address is determined by indirectly consulting the routing tables - a UDP socket is connect()ed and getsockname() called. Look for the code under if (!(options & F_SRCADDR))

Hope this helps.

This communication may not represent my employer's views, if any, on the matters discussed.


Comment on Re^4: Net::Ping IPv6 Support

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-04 19:36 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