i wrote a program where a client socket communicates with a server\nsocket in just one direction (i.e. i only use a server input stream from\na client).\n\napart from getting an IOException when writing to streams how do i know\nfrom the view of the server that the client socket isn't running anymore\n(shutdown from winXP or unplugging ethernet cable etc. etc.)?\ntried to figure that out from catching other exception but no success.\nno success in using Socket.isConnected() either. it seems to just test\nif it was connected at the beginning.\n\nmaybe it is the only solution to establish another stream, where the\nserver pings the client every 10 seconds to know if it's still there??\n\nthnx in advance!