20182018 Ericsson AB. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. net net.xml
net Network interface.

This module provides an API for the network interface.

There is currently no support for Windows.

Get hostname.

Returns the name of the current host.

Address-to-name transaltion.

Address-to-name translation in a protocol-independant manner.

This function is the inverse of getaddrinfo. It converts a socket address to a corresponding host and service.

Network address and service transation.

Network address and service translation.

This function is the inverse of getnameinfo. It converts host and service to a corresponding socket address.

One of the Host and Service may be undefined but not both.

Mappings between network interface names and indexes.

Mappings between network interface names and indexes.

Mappings between network interface index and names.

Mappings between network interface index and names.

Get network interface names and indexes.

Get network interface names and indexes.