I\'m trying to make a client and server which can read and write info back and forth between each other. I can write from the client and server reads it but not vise versa and I
I don't think you are initializing Writer. Make sure that gets initialized before calling it.
Writer
You catch the first NullReferenceException, but then in the catch, you call Writer again, throwing a new one.