System.Net.Sockets.SocketFlags Enum

public enum SocketFlags

Base Types

Object
  ValueType
    Enum
      SocketFlags

Assembly

System

Library

Networking

Summary

Controls the transfer behavior when sending and receiving data on a Socket instance.

Description

The following methods use this enumeration:

Attributes

FlagsAttribute

See Also

System.Net.Sockets Namespace

Members

SocketFlags Fields

SocketFlags.DontRoute Field
SocketFlags.None Field
SocketFlags.OutOfBand Field
SocketFlags.Partial Field
SocketFlags.Peek Field
SocketFlags.value__ Field


SocketFlags.DontRoute Field

DontRoute = 0x4;

Summary

Specifies not to use routing tables to transmit the data. If there is a router between the local and destination addresses, the data will be lost.

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace

SocketFlags.None Field

None = 0x0;

Summary

No flags are specified.

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace

SocketFlags.OutOfBand Field

OutOfBand = 0x1;

Summary

Specifies to send or receive out-of-band (OOB) data. OOB data is specially marked data that can be received independently of unmarked data.

[Note: Used only with a connection-oriented protocol.

]

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace

SocketFlags.Partial Field

Partial = 0x8000;

Summary

Specifies that a partial message has been received.

[Note: Used only with a message-oriented protocol.

]

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace

SocketFlags.Peek Field

Peek = 0x2;

Summary

Specifies to peek at the incoming data. This copies data to the input buffer but does not remove it from the input queue.

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace

SocketFlags.value__ Field

value__;

See Also

System.Net.Sockets.SocketFlags Enum, System.Net.Sockets Namespace