TpcClient
TcpListener
System.Net.Sockets.TcpClient(string hostname, int port)
using System.Net; ... string strHostName = "MYPCNAME"; IPHostEntry ipEntry = Dns.GetHostByName (strHostName); IPAddress [] addr = ipEntry.AddressList; IPAddress ip = addr[0]; Console.WriteLine("{0}", ip);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)