I am working on a simple chat box between two clients that feed strings through a server. So far, I am using the ObjectInputStream in java, and I want to check if the stream