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
SysSockGetOption (FUN) ¶ FUNCTION SysSockGetOption : BOOL InOut: Scope Name Type Comment Return SysSockGetOption BOOL Input diSocket DINT diLevel DINT diOption DINT pOptionValue DWORD Address of option piOptionLength DWORD Address of option size (DINT)
SysSockHtonl (FUN) ¶ FUNCTION SysSockHtonl : DWORD InOut: Scope Name Type Return SysSockHtonl DWORD Input dwHost DWORD
SysSockHtons (FUN) ¶ FUNCTION SysSockHtons : WORD InOut: Scope Name Type Return SysSockHtons WORD Input wHost WORD
SysSockInetAddr (FUN) ¶ FUNCTION SysSockInetAddr : DWORD InOut: Scope Name Type Return SysSockInetAddr DWORD Inout Const stIPAddr STRING