Socket.DualMode Socket.DualMode Socket.DualMode Socket.DualMode Property

定义

获取或设置一个 Boolean 值,该值指定 Socket 是否是用于 IPv4 和 IPv6 的双模式套接字。Gets or sets a Boolean value that specifies whether the Socket is a dual-mode socket used for both IPv4 and IPv6.

public:
 property bool DualMode { bool get(); void set(bool value); };
public bool DualMode { get; set; }
member this.DualMode : bool with get, set
Public Property DualMode As Boolean

属性值

如果 Socket 是双模式套接字,则为 true;否则为 falsetrue if the Socket is a dual-mode socket; otherwise, false. 默认值为 falseThe default is false.

适用于