SysSockNtohl (FUN) ¶ FUNCTION SysSockNtohl : DWORD InOut: Scope Name Type Return SysSockNtohl DWORD Input dwNet DWORD
SysSockNtohs (FUN) ¶ FUNCTION SysSockNtohs : WORD InOut: Scope Name Type Return SysSockNtohs WORD Input wNet WORD
SysSockSelect (FUN) ¶ FUNCTION SysSockSelect : DINT This routine permits a task to pend until one of a set of sockets handles becomes ready. Three parameters – fdRead, fdWrite and fdExcept – point to file descriptor sets in which each array entry corresponds to a particular socket handle. If a socket handle is not ready, it will be written in the array to -1 (SOCKET_INVALID). With the timeout value, a timeout for the operation can be specified. diWidth is the size of the fd_array array in SOCKETFD_SET. The function returns the operating system result. <0: Error 0: Timeout expired >0: Typically number of sockets that are successully selected InOut: Scope Name Type Comment Return SysSockSelect DINT Input diWidth DINT Typically SOCKET_FD_SETSIZE fdRead DWORD Address of SOCKET_FD_SET fdWrite DWORD Address of SOCKET_FD_SET fdExcept DWORD Address of SOCKET_FD_SET ptvTimeout DWORD Address of SOCKET_TIMEVAL
SysSockSetIPAddress (FUN) ¶ FUNCTION SysSockSetIPAddress : BOOL InOut: Scope Name Type Return SysSockSetIPAddress BOOL Inout Const stCardName STRING stIPAddress STRING
SysSockSetOption (FUN) ¶ FUNCTION SysSockSetOption : BOOL InOut: Scope Name Type Comment Return SysSockSetOption BOOL Input diSocket DINT diLevel DINT diOption DINT pOptionValue DWORD Address of option diOptionLength DINT Length of option
SysSockShutdown (FUN) ¶ FUNCTION SysSockShutdown : BOOL InOut: Scope Name Type Return SysSockShutdown BOOL Input diSocket DINT diHow DINT
TCP specific ¶ SysSockRecv (Function) SysSockSend (Function)
SysSockRecv (FUN) ¶ FUNCTION SysSockRecv : DINT InOut: Scope Name Type Comment Return SysSockRecv DINT Input diSocket DINT pbyBuffer DWORD Address of buffer to receive diBufferSize DINT diFlags DINT
SysSockSend (FUN) ¶ FUNCTION SysSockSend : DINT InOut: Scope Name Type Comment Return SysSockSend DINT Input diSocket DINT pbyBuffer DWORD Address of buffer to receive diBufferSize DINT diFlags DINT
UDP specific ¶ SysSockRecvFrom (Function) SysSockSendTo (Function)