Copyright © tutorialspoint.com
Syntax
Definition and UsageContacts the system's name-resolving service, returning a list of information for the host ADDR of type ADDRTYPE, as follows: ($name, $aliases, $addrtype, $length, @addrs) The @addrs array contains a list of packed binary addresses. In a scalar context, returns the host address Return Value
ExampleTry following example:
|
Copyright © tutorialspoint.com