Share via


SocketFlags Enumeration

Specifies values that control a socket's behavior for sending and receiving data.

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

Syntax

[FlagsAttribute]
public enum SocketFlags

Members

  Member name Description
Broadcast A value specifying that a packet is handled as a broadcast packet.
ControlDataTruncated A value specifying that the control data did not fit in an internal 64-KB buffer and was truncated
DontRoute A value specifying that a packet is sent without using routing tables.
MaxIOVectorLength A value specifying a standard value for the number of WSABUF structures that are used to send and receive data.
Multicast A value specifying that a packet is handled as a multicast packet.
None A value specifying that no flags are used for the current call.
OutOfBand A value specifying that out-of-band data is processed.
Partial A value specifying that a message can be partially sent and partially received.
Peek A value specifying that the user can peek at an incoming message.
Truncated A value specifying that a message was too large to fit in the specified buffer and was truncated.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

System.Net.Sockets Namespace