using System;
using System.Net;

class IPAddressTest {
	static void Main() {
		IPAddress ipAddr = IPAddress.Parse("210.59.154.30");
		Console.WriteLine("ipAddr="+ipAddr);

        IPEndPoint ipEndPoint = new System.Net.IPEndPoint(ipAddr, 80);
        Console.WriteLine("ipEndPoint=" + ipEndPoint);

        // ±NIPEndPoint§Ç¦C¤Æ¬°SocketAddress
        SocketAddress socketAddr = ipEndPoint.Serialize();
        Console.WriteLine("socketAddr=" + socketAddr);
	}
}

