> We have a java swing game that relies on connection with the server and
> that is established through object stream. Our problem is that in
> between game play "Stream Corrupted Exception" occurred and
> connection breaks.
> Is there a way we can avoid this, so that connection will carry on till
> the game finish?
Almost certainly.
> Thanks for all your suggestions,
Supply an SSCCE, and read the group while waiting for answers.

Signature
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
Currently accepting short and long term contracts - on Earth.
frankgerlach@gmail.com - 24 Nov 2005 23:55 GMT
Why don't you just handle this exception and recreate the network
connection ?
vidhidwivedi@gmail.com - 25 Nov 2005 07:08 GMT
Thanks for your concern
Actually we relay on the connection if reestablish a new one then game
will restart for that user, so defiantly we don't want to loss that.
Gordon Beaton - 25 Nov 2005 06:35 GMT
> Actually we relay on the connection if reestablish a new one then
> game will restart for that user, so defiantly we don't want to loss
> that.
At the risk of stating the obvious...
Open a new connection but don't restart the game.
/gordon

Signature
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e