_WSABUF structure

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

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Header ws2def.h (include Winsock2.h)