Class NetworkEndpoint
This class represent a network endpoint.
Inheritance
NetworkEndpoint
Assembly: Evergine.Networking.dll
Syntax
public class NetworkEndpoint
Constructors
NetworkEndpoint(string, int)
Declaration
public NetworkEndpoint(string address, int port)
Parameters
Type |
Name |
Description |
string |
address |
The IP address.
|
int |
port |
The port.
|
Properties
Address
Declaration
public string Address { get; }
Property Value
Port
Declaration
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Parse(string)
Declaration
public static NetworkEndpoint Parse(string epString)
Parameters
Type |
Name |
Description |
string |
epString |
A string that contains an IP address in dotted-quad notation for IPv4 followed by colon and the port number.
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Extension Methods