C# Class Akka.Interfaced.SlimSocket.IPEndPointHelper

显示文件 Open project: SaladLab/Akka.Interfaced.SlimSocket

Public Methods

Method Description
Parse ( string endpointstring ) : IPEndPoint
Parse ( string endpointstring, int defaultport ) : IPEndPoint

Private Methods

Method Description
GetIPfromHost ( string p ) : IPAddress
GetPort ( string p ) : int

Method Details

Parse() public static method

public static Parse ( string endpointstring ) : IPEndPoint
endpointstring string
return System.Net.IPEndPoint

Parse() public static method

public static Parse ( string endpointstring, int defaultport ) : IPEndPoint
endpointstring string
defaultport int
return System.Net.IPEndPoint