Partager via


WSABUF structure

The WSABUF structure contains information for a Windows Sockets buffer.

Syntax

typedef struct _WSABUF {
  u_long   len;
  char FAR *buf;
} WSABUF, FAR * LPWSABUF;

Members

  • len
    Size, in bytes, of the buffer at buf.

  • buf
    Pointer to the buffer.

Requirements

Version

Requires Windows Sockets version 2.2.

Header

Winsock2.h (include Winsock2.h)

See also

WSPAccept

WSPConnect

WSPGetQOSByName

WSPIoctl

WSPRecv

WSPSend

 

 

Send comments about this topic to Microsoft