SocketInformationOptions SocketInformationOptions SocketInformationOptions SocketInformationOptions Enum

定义

描述 Socket 的状态。Describes states for a Socket.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class SocketInformationOptions
[System.Flags]
public enum SocketInformationOptions
type SocketInformationOptions = 
Public Enum SocketInformationOptions
继承
SocketInformationOptionsSocketInformationOptionsSocketInformationOptionsSocketInformationOptions
属性

字段

Connected Connected Connected Connected 2

Socket 已连接。The Socket is connected.

Listening Listening Listening Listening 4

Socket 正在侦听新连接。The Socket is listening for new connections.

NonBlocking NonBlocking NonBlocking NonBlocking 1

Socket 处于非阻止状态。The Socket is nonblocking.

UseOnlyOverlappedIO UseOnlyOverlappedIO UseOnlyOverlappedIO UseOnlyOverlappedIO 8

Socket 使用重叠 I/O。The Socket uses overlapped I/O.

适用于