I'm working on a client application that sends and receives commands (Strings) over a Socket. I have some difficulties with the command-handling however. The problem is as follows: There are two types of commands: * commands that we have to send to the server, and then wait for a reply. The Thread that sent the command must stop meanwhile, like 'blocking ...