closing the clientconnection
hey al c# experts. im developing a client server application. when a client is connected to the server server detects it & perform some operation. here, i want to disconnect the client connection by the server side after the operation automatically. im using multi threading asymetric communication techniqe to handle multiple clients. what is the correct procedure to disconnect the client by the server's end? to disconnect a client , can i use
the_sockpack.currentSocket.close();
when im using it, an error is given at waitfordata() function. it says that " cant access disposed objects ".
thank you