tSysSockBind (STRUCT) ¶ TYPE tSysSockBind : STRUCT InOut: Name Type Comment pSockAddr POINTER TO SOCKADDRESS diSockAddrSize DINT pulOut POINTER TO RTS_IEC_RESULT Result
tSysSockClose (STRUCT) ¶ TYPE tSysSockClose : STRUCT InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT Result
POUs ¶ SysSockAccept (Function) SysSockBind (Function) SysSockClose (Function) SysSockConnect (Function) SysSockCreate (Function) SysSockGetHostByName (Function) SysSockGetHostName (Function) SysSockGetLastError (FunctionBlock) SysSockGetLastErrorSync (Function) SysSockGetOption (Function) SysSockHtonl (Function) SysSockHtons (Function) SysSockInetAddr (Function) SysSockInetNtoa (Function) SysSockIoctl (Function) SysSockListen (Function) SysSockNtohl (Function) SysSockNtohs (Function) SysSockSelect (Function) SysSockSetIPAddress (Function) SysSockSetOption (Function) SysSockShutdown (Function) TCP specific SysSockRecv (Function) SysSockSend (Function) UDP specific SysSockRecvFrom (Function) SysSockSendTo (Function)
SysSockAccept (FUN) ¶ FUNCTION SysSockAccept : DINT InOut: Scope Name Type Comment Return SysSockAccept DINT Input diSocket DINT pSockAddr DWORD Address of SocketAddress (SOCKADDRESS) piSockAddrSize DWORD Address of socket address size (DINT)
SysSockBind (FUN) ¶ FUNCTION SysSockBind : BOOL InOut: Scope Name Type Comment Return SysSockBind BOOL Input diSocket DINT pSockAddr DWORD Address of SocketAddress (SOCKADDRESS) diSockAddrSize DINT Size of socket address
SysSockClose (FUN) ¶ FUNCTION SysSockClose : BOOL InOut: Scope Name Type Return SysSockClose BOOL Input diSocket DINT
SysSockConnect (FUN) ¶ FUNCTION SysSockConnect : BOOL InOut: Scope Name Type Comment Return SysSockConnect BOOL Input diSocket DINT pSockAddr DWORD Address of SocketAddress (SOCKADDRESS) diSockAddrSize DINT Size of socket address
SysSockCreate (FUN) ¶ FUNCTION SysSockCreate : DINT InOut: Scope Name Type Return SysSockCreate DINT Input diAddressFamily DINT diType DINT diProtocol DINT
SysSockGetHostByName (FUN) ¶ FUNCTION SysSockGetHostByName : DWORD InOut: Scope Name Type Return SysSockGetHostByName DWORD Inout Const stHostName STRING
SysSockGetHostName (FUN) ¶ FUNCTION SysSockGetHostName : BOOL InOut: Scope Name Type Return SysSockGetHostName BOOL Inout stHostName STRING Input diNameLength DINT