RCP Communication Test / Responsiveness

I want to write an application to check if the Windows machine responds correctly, RDP (Remote Desktop) - that is, to check if the device does not allow the connection, but also responds normally, and does not hang or does not respond abnormally.

Is there a library or utility that I can use for this? My search queries turned out to be completely RDC clients, but I hope that there is something there, at least, offers an API for testing. I would most like to use Java or a scripting language for this, but I am open to suggestions.

+3
source share
2 answers

: RDP ( gui)

RDP , , , . :

AutoHotkey. . , . winamp (, " , " ) (, " ", , ). , script.

+1

Expert Exchange:

use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10, Prompt => '', Port >= 3389);
if($t->open("computer.name.or.ip")) {
    print "Connect successful\n";
}
else {
    print "Could not connect\n";
}

, , 'x' , , . , , , .

. , RDP, ...

0

Source: https://habr.com/ru/post/1698753/


All Articles