I have a client-server program using socket on the server side and read and write is happening in that way
soc = serversocket.accept(); System.out.println(\"Acce
Its a deadlock, you must create and flush the ObjectOutputStream first. This is because ObjectInputStream reads the header sent by the OOS before continuing.