Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <NETDB.H>
Link against: estlib.lib

_PATH_HEQUIV

_PATH_HEQUIV "/etc/hosts.equiv"

Description

[Top]


_PATH_HOSTS

_PATH_HOSTS "/etc/hosts"

Description

[Top]


_PATH_NETWORKS

_PATH_NETWORKS "/etc/networks"

Description

[Top]


_PATH_PROTOCOLS

_PATH_PROTOCOLS "/etc/protocols"

Description

[Top]


_PATH_SERVICES

_PATH_SERVICES "/etc/services"

Description

[Top]


h_errno

h_errno errno

Description

[Top]


h_addr

h_addr h_addr_list[0]

Description

[Top]


NETDB_INTERNAL

NETDB_INTERNAL -1

Description

Error return codes from gethostbyname(const char *)gethostbyname(const char *) and gethostbyaddr(const char *,int,int)gethostbyaddr(const char *,int,int)

[Top]


NETDB_SUCCESS

NETDB_SUCCESS 0

Description

[Top]


HOST_NOT_FOUND

HOST_NOT_FOUND ENOENT

Description

[Top]


TRY_AGAIN

TRY_AGAIN ETIMEDOUT

Description

[Top]


NO_RECOVERY

NO_RECOVERY ECOMM

Description

[Top]


NO_DATA

NO_DATA 4

Description

[Top]


NO_ADDRESS

NO_ADDRESS NO_DATA

Description

[Top]


gethostbyaddr(const char *,int,int)

IMPORT_C struct hostent* gethostbyaddr(const char *, int, int);

Description

Get the internet name of the host by address.

Parameters

const char *

Address of the host

int

int

Return value

struct hostenthostent *

[Top]


gethostbyname(const char *)

IMPORT_C struct hostent* gethostbyname(const char *);

Description

Get the internet name of the host by name.

Parameters

const char *

Name of the host

Return value

struct hostenthostent *