WSABUF structure (ws2def.h)

The WSABUF structure enables the creation or manipulation of a data buffer used by some Winsock functions.

Syntax

typedef struct _WSABUF {
  ULONG len;
  CHAR  *buf;
} WSABUF, *LPWSABUF;

Members

len

The length of the buffer, in bytes.

buf

A pointer to the buffer.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ws2def.h (include Winsock2.h)