Socket接口原理及用C_语言实现//client端 using System; using System.Text; using System.IO; using System.Net; using System.Net.Sockets; namespace socketsample {  class Class1  {   static void Main()   {    try    {     int port = 2000;     string host = "127.0.0.1";     IPAddress ip = IPAddress.Parse(host);     I