SocketFlags Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies socket send and receive behaviors.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

public enum SocketFlags

Member nameDescription
NoneUse no flags for this call.
OutOfBandProcess out-of-band data.
PeekPeek at the incoming message.
DontRouteSend without using routing tables.
MaxIOVectorLengthProvides a standard value for the number of WSABUF structures that are used to send and receive data.
TruncatedThe message was too large to fit into the specified buffer and was truncated.
ControlDataTruncatedIndicates that the control data did not fit into an internal 64-KB buffer and was truncated.
BroadcastIndicates a broadcast packet.
MulticastIndicates a multicast packet.
PartialPartial send or receive for message.