System.Net.Sockets.SocketFlags Enumeration

Specifies socket send and receive behaviors.

Syntax

[System.Flags]
public enum SocketFlags

Remarks

The following methods use this enumeration:

Members

Member NameDescription
Broadcast

Indicates a broadcast packet.

ControlDataTruncated

Indicates that the control data did not fit into an internal 64-KB buffer and was truncated.

DontRoute

Send without using routing tables.

MaxIOVectorLength

Provides a standard value for the number of WSABUF structures that are used to send and receive data. This value is not used or supported on net_v45.

Multicast

Indicates a multicast packet.

None

Use no flags for this call.

OutOfBand

Process out-of-band data.

Partial

Partial send or receive for message.

Peek

Peek at the incoming message.

Truncated

The message was too large to fit into the specified buffer and was truncated.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0