Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How to handle Net::Address::IP::Local'->public when we are not connected to internet (INADDR_ANY)

by ppp (Acolyte)
on Jan 19, 2015 at 16:40 UTC ( [id://1113778]=note: print w/replies, xml ) Need Help??


in reply to Re: How to handle Net::Address::IP::Local'->public when we are not connected to internet (INADDR_ANY)
in thread How to handle Net::Address::IP::Local'->public when we are not connected to internet

Yes it gives some UDP socket connection couldnt created.. type of error. I dont have that in pc here. I saw in my school this morning. But error was linke some .. UDP socket cudnt create.. So how to handle it . I t gives this error because there is no internet access and even then i am trying to get IP , so no connection i guess thats why.. But how i can handle it ? Because if i print it like this :
print "adress is : 'Net::Address::IP::Local'->public";
Then it just print:
adress is :
Now it even do not print 0 or null so that i could habdle it like this if($adress=null) {do this} How to handle ?
  • Comment on Re^2: How to handle Net::Address::IP::Local'->public when we are not connected to internet (INADDR_ANY)
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-24 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found