I was following a material, about socket programming in java, and i encountered problem. My server object does not have a .sendToAll() method and .removeConnection() method. Please someone should point me in the right direction. Below is the code.I was following a material, about socket progra