Class TransportUtils
Inheritance
Inherited Members
Namespace: FixAntenna.FixEngine.Transport.Utils
Assembly: FixAntenna.Core.dll
Syntax
public static class TransportUtils
Methods
AsString(EndPoint)
Returns string representation of System.
Declaration
public static string AsString(this EndPoint ep)
Parameters
Type | Name | Description |
---|---|---|
System. |
ep | EndPoint |
Returns
Type | Description |
---|---|
System. |
String representation of System. |
AsString(IPAddress)
Returns string representation of System.
Declaration
public static string AsString(this IPAddress address)
Parameters
Type | Name | Description |
---|---|---|
System. |
address | Address |
Returns
Type | Description |
---|---|
System. |
String representation of System. |
ToEndPoint(String, Int32)
Parses input string as IP address and returns IPEndPoint if succeed. Otherwise, returns DnsEndPoint.
Declaration
public static EndPoint ToEndPoint(this string address, int port)
Parameters
Type | Name | Description |
---|---|---|
System. |
address | IP address or host name. |
System. |
port | Port to use in EndPoint ctor. |
Returns
Type | Description |
---|---|
System. |
Returns System. |