# netdb.h - [Overview](#section522354055165628) - [Summary](#section396219514165628) - [Data Structures](#nested-classes) - [Macros](#define-members) - [Functions](#func-members) ## **Overview** **Related Modules:** [NET](NET.md) **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
h_addr h_addr_list[0] |
setprotoent (int stayopen) |
Opens a connection to the database and sets the next entry to the first entry. |
getprotoent (void) |
struct protoent * |
getprotobyname (const char *name) |
struct protoent * |
getprotobynumber (int num) |
struct protoent * 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. |