My Project
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
netdb.h File Reference
#include <netinet/in.h>

Go to the source code of this file.

Data Structures

struct  hostent
 

Macros

#define HOST_NOT_FOUND   1
 
#define NO_DATA   2
 
#define NO_ADDRESS   NO_DATA
 
#define NO_RECOVERY   3
 
#define TRY_AGAIN   4
 

Functions

struct hostentgethostbyname (const char *name)
 

Variables

int h_errno
 

Macro Definition Documentation

#define HOST_NOT_FOUND   1

Definition at line 5 of file netdb.h.

#define NO_ADDRESS   NO_DATA

Definition at line 7 of file netdb.h.

#define NO_DATA   2

Definition at line 6 of file netdb.h.

#define NO_RECOVERY   3

Definition at line 8 of file netdb.h.

#define TRY_AGAIN   4

Definition at line 9 of file netdb.h.

Function Documentation

struct hostent* gethostbyname ( const char *  name)

Definition at line 11 of file soc_gethostbyname.c.

Variable Documentation

int h_errno

Definition at line 9 of file soc_gethostbyname.c.