WSAAddressToStringW (WS2_32.28)
INT WSAAddressToStringW ( LPSOCKADDR sockaddr, DWORD len, LPWSAPROTOCOL_INFOW info, LPWSTR string, LPDWORD lenstr )
Convert a sockaddr address into a readable address string.
sockaddr | [In] | Pointer to a sockaddr structure. |
len | [In] | Size of the sockaddr structure. |
info | [In] | Pointer to a WSAPROTOCOL_INFOW structure (optional). |
string | [In/Out] | Pointer to a buffer to receive the address string. |
lenstr | [In/Out] | Size of the receive buffer in WCHARs. |
Success: 0
Failure: SOCKET_ERROR.
The 'info' parameter is ignored.
Only supports AF_INET addresses.
Defined in "winsock2.h".
Implemented in "dlls/ws2_32/socket.c". source.winehq.org/source/dlls/ws2_32/socket.c
Debug channel "winsock".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.