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
SysSockGetLastError (FB) ¶ FUNCTION_BLOCK SysSockGetLastError InOut: Scope Name Type Input bEnable BOOL diSocket DINT Output bDone BOOL bBusy BOOL bError BOOL wErrorId WORD dwLastError DWORD
SysSockGetLastErrorSync (FUN) ¶ FUNCTION SysSockGetLastErrorSync : DINT InOut: Scope Name Type Return SysSockGetLastErrorSync DINT Input diSocket DINT