mirror of
https://github.com/A2osX/A2osX.git
synced 2024-09-10 07:54:37 +00:00
1.1 KiB
1.1 KiB
*** Auto generated by docgen.cmd ***
#SKT.New
- Create a new socket
##In :
- PUSHW = PTR to S.SOCKET template
##Out :
- YA = PTR to new S.SOCKET
- X = hSocket
#SKT.AcceptA
- Check for an incoming connection
##In :
- A = hListeningSocket
##Out :
- A = hSocket
#SKT.Send (DGRAM,STREAM,RAW)
- Send block of data
##In :
- PUSHB = hSocket
- PUSHW = pBuf
- PUSHW = len
##Out :
- A = hFrame
#SKT.RcvdA (DGRAM,RAW)
##In :
- A = hSocket
##Out :
- A = hFrame
#SKT.GetCA (STREAM)
- Read a Char From Stream in A
##In :
- A = hSocket
##Out :
- A = char
#SKT.GetS (STREAM)
- Read a CR terminated Line in pBuf
##In :
- PUSHB = hSocket
- PUSHW = pBuf
- PUSHW = len
##Out :
- Y,A = bytes read
#SKT.Rcvd (STREAM)
- Read data in pBuf
##In :
- PUSHB = hSocket
- PUSHW = pBuf
- PUSHW = len
##Out :
- Y,A = bytes transfered
#SKT.CloseA
- Close socket
##In :
- A = hSocket
##Out :
#SKT.GetA
- Get Ptr to socket
##In :
- A = hSocket
##Out :
- Y,A = pS.SOCKET
#SKT.GetTable
- Get socket table
##In :
##Out :
- Y,A = pS.SOCKET