getting crazy for a simple reconnection code~X(
i do this but still have that problem[after i disconnect the socket]
CurrentConnectionSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
CurrentConnectionSocket.Bind(ConnetionIPEP);
CurrentConnectionSocket.Listen(1);
ConnectionStatusString = "Waitting for client connection ....";
CurrentConnectionSocket.NoDelay = true;
StaticConnectionInfo.ConnectionRootMode = ConnectionMode.Listenning;
CurrentConnectionSocket.BeginAccept(new AsyncCallback(AcceptCon_SYNC), CurrentConnectionSocket);
StaticConnectionInfo.NetworkSideOption = Setting.SettingSideOption.Server;
StaticConnectionInfo.ServerConnectionRoot = this;