netdb.h
Overview
Related Modules:
Description:
Provides functions and data structures related to network operations. For example, you can use the functions to send and receive network data, manage network addresses, and convert bytes.
Since:
1.0
Version:
1.0
Summary
Data Structures
Macros
h_addr h_addr_list[0] |
Defines the first address in h_addr_list for backward compatibility. |
Functions
setprotoent (int stayopen) |
Opens a connection to the database and sets the next entry to the first entry. |
getprotoent (void) |
|
getprotobyname (const char name) |
|
getprotobynumber (int num) |
Retrieves the information about a protocol with the specified number. |
herror (const char msg) |
|
hstrerror (int ecode) |
Retrieves error information associated with the specified error number. |