日期:2014-05-18 浏览次数:20822 次
Socket _Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); _Socket.Connect(_IpEnd); _Socket.Send(url); var response = Encoding.Default.GetString(data, 0, _Socket.Receive(data));
Socket _Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); _Socket.Connect(_IpEnd);
_Socket.Send(url); var response = Encoding.Default.GetString(data, 0, _Socket.Receive(data));