index of namespace default
 
 index of project tksdl_net
 
 index of module tksdl_net

Class tksdl_net.IPAddress


SynopsisRepresents an IPV4 address

  Base classes:
  Methods:

Method getHost
Query host address
Signature
getHost():int
Returns
int
Description

Automatic byteorder conversion to host byte order is performed.

 
 top of page
Method getHostName
Query host name
Signature
getHostName():String
Returns
String

 
 top of page
Method getHostString
Return IP address as string
Signature
getHostString():String
Returns
String

 
 top of page
Method getPort
Query port number
Signature
getPort():int
Returns
int

 
 top of page
Method init
Set host and port
Signature
init(intaddr,
  intport 
  )  
Arguments
intaddr
intport

See also:  


 
 top of page
Method setHost
Set host address
Signature
setHost(intaddr)
Arguments
intaddr
Description

Automatic byteorder conversion to big endian is performed on little endian platforms.

 
 top of page
Method setHostByName
Resolve name to IP address and set as host address
Signature
setHostByName(Stringname)
Arguments
Stringname

 
 top of page
Method setPort
Set port number
Signature
setPort(intportnr)
Arguments
intportnr

 
 top of page
 

Project Modules:tksdl_net 
Project Classes:IPAddress , Network , TCPSocket , UDPPacket , UDPSocket 
Project Functions:
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00