62,072
社区成员
发帖
与我相关
我的任务
分享
ipe = new IPEndPoint(IPAddress.Parse(System.Configuration.ConfigurationSettings.AppSettings["ip"]), int.Parse(System.Configuration.ConfigurationSettings.AppSettings["port"]));
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
System.Web.HttpContext.Current.Session["logincode"] = null;
socket.ReceiveTimeout = 60000;
socket.Connect(ipe);