Public Methods
 FunctionDefined By
  
AVM-only htonl(hostlong:uint):uint
Convert values between host and network byte order.
C.arpa.inet
  
AVM-only htons(hostshort:uint):uint
Convert values between host and network byte order.
C.arpa.inet
  
Convert a string in the standard IPv4 dotted decimal notation to an integer value suitable for use as an Internet address.
C.arpa.inet
  
Convert a string in the Internet standard dot notation to an IPv4 address in_addr.
C.arpa.inet
  
Test.
C.arpa.inet
  
Convert an IPv4 address in_addr to a string in the Internet standard dot notation.
C.arpa.inet
  
AVM-only inet_ntop(af:int, src:*):String
Convert IPv4 and IPv6 addresses from binary to text form.
C.arpa.inet
  
AVM-only inet_pton(af:int, src:String, dst:*):int
Convert IPv4 and IPv6 addresses from text form to binary.
C.arpa.inet
  
AVM-only ntohl(netlong:uint):uint
Convert values between host and network byte order.
C.arpa.inet
  
AVM-only ntohs(netshort:uint):int
Convert values between host and network byte order.
C.arpa.inet
Function detail
AVM-only htonl()function
public function htonl(hostlong:uint):uint

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert values between host and network byte order.

host to network long

Parameters

hostlong:uint

Returns
uint
AVM-only htons()function 
public function htons(hostshort:uint):uint

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert values between host and network byte order.

host to network short

Parameters

hostshort:uint

Returns
uint
AVM-only inet_addr()function 
public function inet_addr(cp:String):uint

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert a string in the standard IPv4 dotted decimal notation to an integer value suitable for use as an Internet address.

Parameters

cp:String

Returns
uint
AVM-only inet_aton()function 
public function inet_aton(cp:String, inp:in_addr):int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert a string in the Internet standard dot notation to an IPv4 address in_addr.

Parameters

cp:String
 
inp:in_addr

Returns
int
AVM-only inet_network()function 
public function inet_network(cp:String):uint

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Test.

Parameters

cp:String

Returns
uint
AVM-only inet_ntoa()function 
public function inet_ntoa(inaddr:in_addr):String

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert an IPv4 address in_addr to a string in the Internet standard dot notation.

Parameters

inaddr:in_addr

Returns
String
AVM-only inet_ntop()function 
public function inet_ntop(af:int, src:*):String

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert IPv4 and IPv6 addresses from binary to text form.

Parameters

af:int
 
src:*

Returns
String
AVM-only inet_pton()function 
public function inet_pton(af:int, src:String, dst:*):int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert IPv4 and IPv6 addresses from text form to binary.

Parameters

af:int
 
src:String
 
dst:*

Returns
int
AVM-only ntohl()function 
public function ntohl(netlong:uint):uint

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert values between host and network byte order.

network to host long

Parameters

netlong:uint

Returns
uint
AVM-only ntohs()function 
public function ntohs(netshort:uint):int

Language Version : ActionScript 3.0
Runtime Versions : RedTamarin 0.4

Convert values between host and network byte order.

network to host short

Parameters

netshort:uint

Returns
int