I'm making a server/client project where a client can connect to my server and be able to chat and stuff.
I seem to be having trouble with something that confuses me. If I connect my client to the server, then exit the client, and then try to re-connect, I get an error saying "cannot access a disposed object".
This is my code right here
public static void ClientThread(TcpClient nClient)