WSAAddressToStringW(3w)

NAME

WSAAddressToStringW (WS2_32.28)

SYNOPSIS

INT WSAAddressToStringW
 (
  LPSOCKADDR          sockaddr,
  DWORD               len,
  LPWSAPROTOCOL_INFOW info,
  LPWSTR              string,
  LPDWORD             lenstr
 )

DESCRIPTION

Convert a sockaddr address into a readable address string.

PARAMS

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.

RETURNS

Success: 0

Failure: SOCKET_ERROR.

NOTES

The 'info' parameter is ignored.

IMPLEMENTATION

Defined in "winsock2.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ws2_32/socket.c".

Debug channel "winsock".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout