Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SocketInformationOptions Enumeration

SocketInformationOptions Enumeration

Describes states for a Socket.

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

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

[FlagsAttribute]
public enum SocketInformationOptions

Member nameDescription
ConnectedThe Socket is connected.
ListeningThe Socket is listening for new connections.
NonBlockingThe Socket is nonblocking.
UseOnlyOverlappedIOThe Socket uses overlapped I/O.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft