2017-01-30 16:30:39 +00:00
|
|
|
*** Auto generated by docgen.cmd ***
|
|
|
|
|
2017-01-31 16:40:37 +00:00
|
|
|
#SKT.New
|
2017-02-13 07:26:18 +00:00
|
|
|
+ Create a new socket
|
2017-01-31 16:40:37 +00:00
|
|
|
|
|
|
|
##In :
|
|
|
|
+ PUSHW = PTR to S.SOCKET template
|
|
|
|
|
|
|
|
##Out :
|
|
|
|
+ YA = PTR to new S.SOCKET
|
|
|
|
+ X = hSocket
|
2017-02-13 07:26:18 +00:00
|
|
|
|
|
|
|
#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
|