All pastes #509360 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-25 12:36 UTC
rendered paste body
try

			{
				ObjectInputStream input = new ObjectInputStream(socket
						.getInputStream());

				o = input.readObject();
			}
			catch(Exception ev){
				System.out.println(ev);
				try{
                                      socket.getoutputstream();
                               catch(exception e){
                                    //now i know the socket is broken?
				
			}