Struct PortRange
TCP Port range.
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public struct PortRange
Constructors
PortRange(Int32)
Creates a PortRange.
Declaration
public PortRange(int port)
Parameters
Type | Name | Description |
---|---|---|
Int32 | port | The port number |
PortRange(Int32, Int32)
Creates a PortRange.
Declaration
public PortRange(int first, int last)
Parameters
Type | Name | Description |
---|---|---|
Int32 | first | The first port in the range |
Int32 | last | The last port in the range (inclusive) |
Properties
First
The first port in the range.
Declaration
public readonly int First { get; }
Property Value
Type | Description |
---|---|
Int32 |
Last
The last port in the range (inclusive).
Declaration
public readonly int Last { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |