in reply to Re: How to handle Net::Address::IP::Local'->public when we are not connected to internet
in thread How to handle Net::Address::IP::Local'->public when we are not connected to internet
And don't this static IP return handle this error ? I mean doing this :Unable to create UDP socket: A socket operation was attempted to an un +reachable network....
should return return '192.80.160.16' instead of this error message. so how to get rid of this error and return '192.80.160.16' when there is no IP recived (when disconnected) otherwise return the real IP which it receives.return $address='192.80.160.16';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to handle Net::Address::IP::Local'->public when we are not connected to internet
by Laurent_R (Canon) on Jan 19, 2015 at 19:01 UTC | |
|
Re^3: How to handle Net::Address::IP::Local'->public when we are not connected to internet
by Anonymous Monk on Jan 19, 2015 at 22:31 UTC |