摘要:
IPEndPoint serverIPE = new IPEndPoint(IPAddress.Parse("server ip"), 80); IPEndPoint localIPE = new IPEndPoint(IPAddress.Parse("192.168.1.2"), 6639); Socket socket = new Socket(serverIPE.AddressFamily, SocketType.Stream, ProtocolType.Tcp); socket.Bind(loca... 阅读全文