default
tksdl_net
tksdl_nettksdl_net.TCPSocketaccept() : TCPSocket - Accept client connection and return new TCPSocket object
close() - Close socket
getPeerAddress() : IPAddress - Query peer IPV4 address and port number
open(IPAddress ip) - Open socket
recv(Buffer netbuf, int num) - Receive data
send(Buffer netbuf, int num) - Send data
sendString(String s) - Send string
socketReady() : boolean - Check whether this socket has been marked as active. Method accept | |||||
Accept client connection and return new TCPSocket object | |||||
Signature | |||||
| |||||
Returns | |||||
Description | |||||
This is a wrapper for the SDLNet_TCP_Accept() native function. |
Method close | |||
Close socket | |||
Signature | |||
|
Method getPeerAddress | |||||
Query peer IPV4 address and port number | |||||
Signature | |||||
| |||||
Returns | |||||
Description | |||||
This is a wrapper for the SDLNet_TCP_GetPeerAddress() native function. |
Method open | |||||
Open socket | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This is a wrapper for the SDLNet_TCP_Open() native function. |
Method socketReady | |||||
Check whether this socket has been marked as active. | |||||
Signature | |||||
| |||||
Returns | |||||
| |||||
Description | |||||
This is a wrapper for the SDLNet_SocketReady() native function. |
| 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