Class StreamSocketCreateArgs
Arguments for a stream socket create event.
Inheritance
System.Object
StreamSocketCreateArgs
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class StreamSocketCreateArgs : object
Constructors
StreamSocketCreateArgs(Boolean, Boolean, Boolean)
Initializes a new instance of the StreamSocketCreateArgs class.
Declaration
public StreamSocketCreateArgs(bool server, bool ipv6, bool secure)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | server | Whether the socket should accept incoming connections. |
System.Boolean | ipv6 | Whether the socket should support IPv6. |
System.Boolean | secure | Whether the socket should be secured. |
Properties
IPv6
Gets or sets a value indicating whether the socket should support IPv6.
Declaration
public bool IPv6 { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Secure
Gets or sets a value indicating whether the socket should be secured.
Declaration
public bool Secure { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Server
Gets or sets a value indicating whether the socket should accept incoming connections.
Declaration
public bool Server { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StreamIndex
Gets or sets the stream index.
Declaration
public int StreamIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |