in reply to icmp socket error

It works fine for me.

But It requires some changes
$p->bind("$actual ip of the source"); #This can not be a 127.0.0.1 if ($p->ping($hostname[0],3)) #You can't give a array as a first argum +ent.
I am using windows 2000 and perl, v5.8.4




Update: The module does not require a bind call you can always remove the bind and go ahead. It works smart.

Thanks
SasiKumar

Replies are listed 'Best First'.
Re^2: icmp socket error (!bind)
by tye (Sage) on Feb 08, 2005 at 03:48 UTC

    Instead you should just drop the bind() call. If the module requires it, then the module should be fixed.

    - tye        

Re^2: icmp socket error
by anoopgulati (Initiate) on Feb 09, 2005 at 06:57 UTC
    hi there .... i got to hear that 5.8.6 has some glitch as far as ping is concerned ....n more over i m a total novice ...in perl .... can u help me in a step by step manner ... i tried runni the code without the bind statement .... it still gives the same error