Public Methods
 FunctionDefined By
  
Address and name information error description.
C.netdb
  
AVM-only getaddrinfo(nodename:String, servname:String, hints:addrinfo = null, eaierr:CEAIrror = null):Array
Find the next host entry.
C.netdb
  
AVM-only gethostbyaddr(addr:*, type:int):hostent
hello.
C.netdb
  
hello.
C.netdb
  
Find the next host entry.
C.netdb
  
Find a protocol by number.
C.netdb
  
Find the next protocol entry.
C.netdb


Public Constants
 ConstantDefined By
  AVM-only AI_ADDRCONFIG : int
Query for IPv4 addresses only when an IPv4 address is configured; query for IPv6 addresses only when an IPv6 address is configured.
C.netdb
  AVM-only AI_ALL : int
Query for both IPv4 and IPv6 addresses.
C.netdb
  AVM-only AI_CANONNAME : int
Request for canonical name.
C.netdb
  AVM-only AI_NUMERICHOST : int
Return numeric host address as name.
C.netdb
  AVM-only AI_NUMERICSERV : int
Inhibit service name resolution.
C.netdb
  AVM-only AI_PASSIVE : int
Socket address is intended for bind().
C.netdb
  AVM-only AI_V4MAPPED : int
If no IPv6 addresses are found, query for IPv4 addresses and return them to the caller as IPv4-mapped IPv6 addresses.
C.netdb
  AVM-only EAI_AGAIN : int
The name could not be resolved at this time.
C.netdb
  AVM-only EAI_BADFLAGS : int
The flags had an invalid value.
C.netdb
  AVM-only EAI_FAIL : int
A non-recoverable error occurred.
C.netdb
  AVM-only EAI_FAMILY : int
The address family was not recognized or the address length was invalid for the specified family.
C.netdb
  AVM-only EAI_MEMORY : int
There was a memory allocation failure.
C.netdb
  AVM-only EAI_NONAME : int
The name does not resolve for the supplied parameters.
C.netdb
  AVM-only EAI_OVERFLOW : int
An argument buffer overflowed.
C.netdb
  AVM-only EAI_SERVICE : int
The service passed was not recognized for the specified socket type.
C.netdb
  AVM-only EAI_SOCKTYPE : int
The intended socket type was not recognized.
C.netdb
  AVM-only EAI_SYSTEM : int
A system error occurred.
C.netdb
  AVM-only NI_DGRAM : int
Indicates that the service is a datagram service (SOCK_DGRAM).
C.netdb
  AVM-only NI_NAMEREQD : int
Return an error if the node's name cannot be located in the database.
C.netdb
  AVM-only NI_NOFQDN : int
Only the nodename portion of the FQDN is returned for local hosts.
C.netdb
  AVM-only NI_NUMERICHOST : int
The numeric form of the node's address is returned instead of its name.
C.netdb
  AVM-only NI_NUMERICSCOPE : int
For IPv6 addresses, the numeric form of the scope identifier is returned instead of its name.
C.netdb
  AVM-only NI_NUMERICSERV : int
The numeric form of the service address is returned instead of its name.
C.netdb
Constant Detail
AVM-only AI_ADDRCONFIGConstant
public const AI_ADDRCONFIG:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Query for IPv4 addresses only when an IPv4 address is configured; query for IPv6 addresses only when an IPv6 address is configured.

AVM-only AI_ALLConstant 
public const AI_ALL:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Query for both IPv4 and IPv6 addresses.

AVM-only AI_CANONNAMEConstant 
public const AI_CANONNAME:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Request for canonical name.

AVM-only AI_NUMERICHOSTConstant 
public const AI_NUMERICHOST:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Return numeric host address as name.

AVM-only AI_NUMERICSERVConstant 
public const AI_NUMERICSERV:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Inhibit service name resolution.

AVM-only AI_PASSIVEConstant 
public const AI_PASSIVE:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Socket address is intended for bind().

AVM-only AI_V4MAPPEDConstant 
public const AI_V4MAPPED:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

If no IPv6 addresses are found, query for IPv4 addresses and return them to the caller as IPv4-mapped IPv6 addresses.

AVM-only EAI_AGAINConstant 
public const EAI_AGAIN:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The name could not be resolved at this time. Future attempts may succeed.

AVM-only EAI_BADFLAGSConstant 
public const EAI_BADFLAGS:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The flags had an invalid value.

AVM-only EAI_FAILConstant 
public const EAI_FAIL:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

A non-recoverable error occurred.

AVM-only EAI_FAMILYConstant 
public const EAI_FAMILY:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The address family was not recognized or the address length was invalid for the specified family.

AVM-only EAI_MEMORYConstant 
public const EAI_MEMORY:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

There was a memory allocation failure.

AVM-only EAI_NONAMEConstant 
public const EAI_NONAME:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The name does not resolve for the supplied parameters.

NI_NAMEREQD is set and the host's name cannot be located, or both nodename and servname were null.

AVM-only EAI_OVERFLOWConstant 
public const EAI_OVERFLOW:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4, POSIX (Linux/Mac only)

An argument buffer overflowed.

AVM-only EAI_SERVICEConstant 
public const EAI_SERVICE:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The service passed was not recognized for the specified socket type.

AVM-only EAI_SOCKTYPEConstant 
public const EAI_SOCKTYPE:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The intended socket type was not recognized.

AVM-only EAI_SYSTEMConstant 
public const EAI_SYSTEM:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4, POSIX (Linux/Mac only)

A system error occurred. The error code can be found in errno.

AVM-only NI_DGRAMConstant 
public const NI_DGRAM:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Indicates that the service is a datagram service (SOCK_DGRAM).

AVM-only NI_NAMEREQDConstant 
public const NI_NAMEREQD:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Return an error if the node's name cannot be located in the database.

AVM-only NI_NOFQDNConstant 
public const NI_NOFQDN:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Only the nodename portion of the FQDN is returned for local hosts.

AVM-only NI_NUMERICHOSTConstant 
public const NI_NUMERICHOST:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The numeric form of the node's address is returned instead of its name.

AVM-only NI_NUMERICSCOPEConstant 
public const NI_NUMERICSCOPE:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4, POSIX (Linux/Mac only)

For IPv6 addresses, the numeric form of the scope identifier is returned instead of its name.

AVM-only NI_NUMERICSERVConstant 
public const NI_NUMERICSERV:int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

The numeric form of the service address is returned instead of its name.

Function detail
AVM-only gai_strerror()function
public function gai_strerror(ecode:int):String

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Address and name information error description.

Parameters

ecode:int

Returns
String

See also

AVM-only getaddrinfo()function 
public function getaddrinfo(nodename:String, servname:String, hints:addrinfo = null, eaierr:CEAIrror = null):Array

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Find the next host entry.

Parameters

nodename:String
 
servname:String
 
hints:addrinfo (default = null)
 
eaierr:CEAIrror (default = null)

Returns
Array

See also

AVM-only gethostbyaddr()function 
public function gethostbyaddr(addr:*, type:int):hostent

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4 - see: http://pubs.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html

hello.

Parameters

addr:*
 
type:int

Returns
hostent
AVM-only gethostbyname()function 
public function gethostbyname(name:String):hostent

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4 - see: http://pubs.opengroup.org/onlinepubs/009695399/functions/gethostbyname.html

hello.

Parameters

name:String

Returns
hostent
AVM-only gethostent()function 
public function gethostent():hostent

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Find the next host entry.

The gethostent() function shall read the next entry in the database, opening and closing a connection to the database as necessary.

Returns
hostent

See also


Example
Usage
     
     
     
AVM-only getprotobynumber()function 
public function getprotobynumber(proto:int):protoent

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Find a protocol by number.

The getprotobynumber() function shall search the database from the beginning and find the first entry for which the protocol number specified by proto matches the p_proto member, opening and closing a connection to the database as necessary.

Parameters

proto:int — The protocol number.

Returns
protoent

See also


Example
Usage
     
     
     
AVM-only getprotoent()function 
public function getprotoent():protoent

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Find the next protocol entry.

The getprotoent() function shall read the next entry of the database, opening and closing a connection to the database as necessary.

Returns
protoent

See also


Example
Usage