sending commands

This is a discussion on sending commands within the Networking/Device Communication forums, part of the General Programming Boards category; i know that you can send text from the serve to a client application, but is there a way to ...

sending commands

i know that you can send text from the serve to a client application, but is there a way to send a command to the client application (i.e. "close" (Alt + F4)). I know that you could send a code in text from the server and the client just translate that into a command, but in this case i cant modify the code of the client (the client just listens on a port for an incoming message). If it helps any, both the server and the client will be running Windows.