Skip to main content

SocketAddress Class

NuGet: GHIElectronics.TinyCLR.EthernetIP.Scanner
Assembly: GHIElectronics.TinyCLR.EthernetIP.Scanner
Namespace: GHIElectronics.TinyCLR.EthernetIP.Scanner

Socket Address (see section 2-6.3.2)

public class SocketAddress

Fields​

SIN_family​

public ushort SIN_family

The socket address family (big-endian, typically 2 for AF_INET).

SIN_port​

public ushort SIN_port

The socket port number (big-endian).

SIN_Address​

public uint SIN_Address

The 32-bit IPv4 address (big-endian).

SIN_Zero​

public byte[] SIN_Zero

Reserved padding, must be zero.