Right vladdrak
So the problem is that how to bring that exit status back to my Windows machine, through the code above I am just telnetting to a remote machine and executing a command der
Now I want to bring back the status of the process back to the Windows machine and that is the issue....!