Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysSocket Implementation ¶ Library Identification ¶ Placeholder: SysSocket Implementation Default Resolution: SysSocket Implementation, * (System) Namespace: SysSocket_Implementation Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSocket Implementation SysSocket Interfaces ¶ Library Identification ¶ Name: SysSocket Interfaces Version: newest Company: System Namespace: SysSocket_Interfaces Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSocket Interfaces, * (System)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 02.03.2023, 11:06:07 companyName string 3S-Smart Software Solutions GmbH libraryFile SysSocket.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysSocket.clean.json version version 2.0.0.0 ProjectInformation IsCommonLibraryContainer bool True Released True LastModificationDateTime date 02.03.2023, 11:06:05 LibraryCategories library-category-list System|SysLibs Author string `` 3S - Smart Software Solutions GmbH `` Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder SysSocket Project SysSocket Title SysSocket Version version 3.5.19.0
SysSockGetSubnetMask (FUN) ¶ FUNCTION SysSockGetSubnetMask : RTS_IEC_RESULT Get subnetmask of a specified IP address adapter. InOut: Scope Name Type Comment Return SysSockGetSubnetMask RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input szIPAddress REFERENCE TO STRING IP address of the communication partner as string szSubnetMask REFERENCE TO STRING Subnet mask as string diMaxSugnetMask DINT Maximum length of the subnet mask string
SysSockHtonl (FUN) ¶ FUNCTION SysSockHtonl : UDINT Converts a value of type UDINT from host byte order to the order of the TCP/IP network. InOut: Scope Name Type Comment Return SysSockHtonl UDINT Converted UDINT value Input ulHost UDINT Host value
SysSockHtons (FUN) ¶ FUNCTION SysSockHtons : WORD Converts a value of type short from order of the TCP/IP network to the host byte order. InOut: Scope Name Type Comment Return SysSockHtons WORD Converted WORD value Input usHost WORD Ethernet value
SysSockInetAddr (FUN) ¶ FUNCTION SysSockInetAddr : RTS_IEC_RESULT Convert an IP address string into an IP address. InOut: Scope Name Type Comment Return SysSockInetAddr RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input szIPAddress REFERENCE TO STRING Pointer to get IP address string (must be at least 16 bytes long) pInAddr POINTER TO UDINT Pointer to IP address description
SysSockInetNtoa (FUN) ¶ FUNCTION SysSockInetNtoa : RTS_IEC_RESULT Convert IP address to a string. InOut: Scope Name Type Comment Return SysSockInetNtoa RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pInAddr POINTER TO INADDR Pointer to IP address description szIPADDR REFERENCE TO STRING Pointer to get IP address string (must be at least 16 bytes long) diIPAddrSize DINT Maximum length of szIPAddr
SysSockIoctl (FUN) ¶ FUNCTION SysSockIoctl : RTS_IEC_RESULT Io-control of a socket. InOut: Scope Name Type Comment Return SysSockIoctl RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocket RTS_IEC_HANDLE Handle to the socket diCommand DINT Io-control command pdiParameter POINTER TO DINT Parameter value of the command
Stream.IoControl (METH) ¶ METHOD IoControl : ERROR Call an IoCtl on the stream InOut: Scope Name Type Comment Input diCommand DINT IoCtl command to be executed Inout diParameter DINT Parameter of the command Return IoControl ERROR
Properties ¶ IPAddress (Property) Socket (Property) State (Property)