<div class="content" name="WINSTATIONREMOTEADDRESS" uuid="5b5a44b3-155f-4159-aad9-794e97275a3f"><p>The WINSTATIONREMOTEADDRESS structure specifies the client&#39;s
remote address. Only TCP/IP addresses are supported.<a id="Appendix_A_Target_132"></a><a aria-label="Product behavior note 132" href="7ce7f717-461b-4f18-9829-6690168c7707#Appendix_A_132" data-linktype="relative-path">&lt;132&gt;</a></p><dl>
<dd>
<div><pre> 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;
</pre></div>
</dd></dl><p><b>sin_family:</b>  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 <span><a href="https://go.microsoft.com/fwlink/?LinkId=93442" data-linktype="external">[MSDN-SOCKET]</a></span>.</p><p><b>ipv4:</b>  IPv4 address. For more
information, see <span><a href="https://go.microsoft.com/fwlink/?LinkId=93316" data-linktype="external">[MSDN-TDIADDRESS]</a></span>.</p><p><b>sin_port:</b>  Specifies a TCP or User
Datagram Protocol (UDP) port number.</p><p><b>in_addr:</b>  Indicates the IP address. </p><p><b>sin_zero:</b>  An array filled with
zeros.</p><p><b>ipv6:</b>  IPv6 address.</p><p><b>sin6_port:</b>  Specifies a TCP or UDP
port number.</p><p><b>sin6_flowinfo:</b>  Ipv6 flow
information.</p><p><b>sin6_addr:</b>  Indicates the IP
address.</p><p><b>sin6_scope_id:</b>  Set of interfaces for
a scope. For more information, see <span><a href="https://go.microsoft.com/fwlink/?LinkId=206745" data-linktype="external">[MSDN-SOCKADDR_IN6]</a></span>.</p></div>