ResolveToEndPoint() публичный статический Метод

public static ResolveToEndPoint ( string value ) : IPEndPoint
value string
Результат System.Net.IPEndPoint
 /// <summary>
 /// Adds a new server to the sockIOPool.
 /// </summary>
 /// <param name="address">The host name or IP address of the server.</param>
 /// <param name="port">The port number of the memcached instance.</param>
 public void AddServer(string host, int port)
 {
     this.Servers.Add(ConfigurationHelper.ResolveToEndPoint(host, port));
 }
 /// <summary>
 /// Adds a new server to the sockIOPool.
 /// </summary>
 /// <param name="address">The address and the port of the server in the format 'host:port'.</param>
 public void AddServer(string address)
 {
     this.Servers.Add(ConfigurationHelper.ResolveToEndPoint(address));
 }