SocketInformation 结构

定义

对复制 Socket 时所需的信息进行封装。Encapsulates the information that is necessary to duplicate a Socket.

public value class SocketInformation
public struct SocketInformation
[System.Serializable]
public struct SocketInformation
type SocketInformation = struct
Public Structure SocketInformation
继承
SocketInformation
属性

注解

Socket.DuplicateAndClose 创建用于 Socket.Socket(SocketInformation) 构造函数的 SocketInformation 实例。Socket.DuplicateAndClose creates a SocketInformation instance for use with the Socket.Socket(SocketInformation) constructor.

属性

Options

获取或设置 Socket 的选项。Gets or sets the options for a Socket.

ProtocolInformation

获取或设置 Socket 的协议信息。Gets or sets the protocol information for a Socket.

适用于