Example #1
0
 /// <summary>
 /// Connects to the specified target.
 /// </summary>
 /// <param name="target">The target.</param>
 /// <returns></returns>
 public Socket Connect(EndPoint target)
 {
     var ipTarget = target.ToIPEndPoint();
     return Connect(ipTarget.Address, ipTarget.Port);
 }