_TCPServer_BindAppToSocket ( int $iSocket, string $sCommand )
·$iSocket: The socket ID to where you want to bind the console application.
·$sCommand: Command to run (must be MS-DOS - which is cmd.exe - or some Console-based application).
Binds a console application to a socket. The user will see it live-updating (for example, if the user
performs a ping to some server, he will see the command results showing line by line, as if he ran
it personally in the computer.
Please note that, even if the user is seeing the console application, you still can send him data
through _TCPServer_Send(). Also, although he's seeing
the application, his keyboard inputs
aren't redirected automatically into the app. You must redirect with _TCPServer_SendToBound().