Posted on 2003-03-15
hi i have a client-server application.
in the server side i have a GUI to store objects into the Hashtable.
the client sends some key values to the server(using B1 button) and the server checks into the hashtable (matching or not) and send back a message saying that the Object variables are available or not.(no problem all working!)
the problem occures when the client sends an int from the textfield to the server(using B2 button).
in the server program we have a class (Calculation) that uses the recived value (from the client) and multiply it with a an object variable(from another class object) from the Hashtable to get the result and send it back to the client.
it is all working but after the second press on the B2 button(in the client side)!!!.
why is that???
i'm using a stream socket for connection.
using PrintWriters to send data
and BufferedReaders to recive data