Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
SysSocket Implementation Library Documentation ¶ Company System Title SysSocket Implementation Version 3.5.19.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder SysSocket Implementation Description 1 ¶ Library, to get access to the socket interface for TCP/IP communication on the target. Contents: ¶ SysSockAccept (Function) SysSockBind (Function) SysSockClose (Function) SysSockCloseUdp (Function) SysSockConnect (Function) SysSockCreate (Function) SysSockCreateUdp (Function) SysSockFdInit (Function) SysSockFdIsset (Function) SysSockFdZero (Function) SysSockGetFirstAdapterInfo (Function) SysSockGetHostByName (Function) SysSockGetHostName (Function) SysSockGetNextAdapterInfo (Function) SysSockGetOSHandle (Function) SysSockGetOption (Function) SysSockGetPeerName (Function) SysSockGetRecvSizeUdp (Function) SysSockGetSockName (Function) SysSockGetSubnetMask (Function) SysSockHtonl (Function) SysSockHtons (Function) SysSockInetAddr (Function) SysSockInetNtoa (Function) SysSockIoctl (Function) SysSockListen (Function) SysSockNtohl (Function) SysSockNtohs (Function) SysSockPing (Function) SysSockRecv (Function) SysSockRecvFrom (Function) SysSockRecvFromUdp (Function) SysSockRecvFromUdp2 (Function) SysSockRecvMsg (Function) SysSockSelect (Function) SysSockSend (Function) SysSockSendTo (Function) SysSockSendToUdp (Function) SysSockSetDefaultGateway (Function) SysSockSetIPAddress (Function) SysSockSetIpAddressAndNetMask (Function) SysSockSetOption (Function) SysSockSetSubnetMask (Function) SysSockShutdown (Function) Indices and tables ¶ 1 Based on SysSocket Implementation.library, last modified 02.03.2023, 11:06:30. LibDoc 4.4.0.0-b.27 The content file SysSocket Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 11:06:32.
SysSockAccept (FUN) ¶ FUNCTION SysSockAccept : RTS_IEC_HANDLE Accept the next incoming TCP connection. This functions calls the function accept of the operating system, which can accept a request to connect to a socket. A new descriptor (handle) for the socket is returned. The original socket is reset to the “listening” state (see SysSockListen). InOut: Scope Name Type Comment Return SysSockAccept RTS_IEC_HANDLE Handle to the new accepted socket or RTS_INVALID_HANDLE if failed. Input hSocket RTS_IEC_HANDLE Handle to the socket pSockAddr POINTER TO SOCKADDRESS Socket address of the client, who is connected pdiSockAddrSize POINTER TO DINT Pointer to size of socket address structure pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
extern30 ¶ GVL (GVL) SysSharedMemoryClose (Function) SysSharedMemoryOpen (Function) SysSharedMemoryRead (Function) SysSharedMemoryWrite (Function)
GVL (GVL) ¶ InOut: Scope Name Type Initial Comment Constant SYSSHM_INVALID_HANDLE UDINT 16#FFFFFFFF -1 is not valid for a unsigned int in IEC
SysSharedMemoryClose (FUN) ¶ FUNCTION SysSharedMemoryClose : UDINT InOut: Scope Name Type Return SysSharedMemoryClose UDINT Input hShm UDINT
SysSharedMemoryOpen (FUN) ¶ FUNCTION SysSharedMemoryOpen : UDINT InOut: Scope Name Type Return SysSharedMemoryOpen UDINT Input pszName REFERENCE TO STRING ulPhysicalAddress UDINT pulSize POINTER TO UDINT pResult POINTER TO UDINT
SysSharedMemoryRead (FUN) ¶ FUNCTION SysSharedMemoryRead : UDINT InOut: Scope Name Type Return SysSharedMemoryRead UDINT Input hShm UDINT ulOffset UDINT pbyData POINTER TO BYTE ulSize UDINT pResult POINTER TO UDINT
SysSharedMemoryWrite (FUN) ¶ FUNCTION SysSharedMemoryWrite : UDINT InOut: Scope Name Type Return SysSharedMemoryWrite UDINT Input hShm UDINT ulOffset UDINT pbyData POINTER TO BYTE ulSize UDINT pResult POINTER TO UDINT
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.