Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WINSTATIONREMOTEADDRESS structure specifies the client's remote address. Only TCP/IP addresses are supported.<131>
-
typedef struct { unsigned short sin_family; union { struct { USHORT sin_port; ULONG in_addr; UCHAR sin_zero[8]; } ipv4; struct { USHORT sin6_port; ULONG sin6_flowinfo; USHORT sin6_addr[8]; ULONG sin6_scope_id; } ipv6; }; } WINSTATIONREMOTEADDRESS, *PWINSTATIONREMOTEADDRESS;
sin_family: MUST be AF_INET to indicate that IPv4 is supported or AF_INET6 to indicate that IPv6 is supported. For more information on AF_INET and AF_INET6, see [MSDN-SOCKET].
ipv4: IPv4 address. For more information, see [MSDN-TDIADDRESS].
sin_port: Specifies a TCP or User Datagram Protocol (UDP) port number.
in_addr: Indicates the IP address.
sin_zero: An array filled with zeros.
ipv6: IPv6 address.
sin6_port: Specifies a TCP or UDP port number.
sin6_flowinfo: Ipv6 flow information.
sin6_addr: Indicates the IP address.
sin6_scope_id: Set of interfaces for a scope. For more information, see [MSDN-SOCKADDR_IN6].