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.
A version of this page is also available for
4/8/2010
The WSPGetSockName function is used to retrieve the local address for bound sockets. This is especially useful when a WSPConnect call has been made without doing a WSPBind first; WSPGetSockName provides the only means to determine the local association that has been set implicitly by the provider.
After a connection has been set up, WSPGetPeerName can be used to determine the address of the peer to which a socket is connected.