gujo
gujo

Reputation: 267

RDP communication via C/C++

I need to write a basic RDP client in C/C++, doesn't need GUI it can be CLI, it only needs to connect to specified hosts - if connection is successfull, to confirm it and if it isn't to output an error message like the pass is not correct. Can someone point me to somewhere so i can read more about this ? Thanks.

Upvotes: 2

Views: 10237

Answers (2)

gimel
gimel

Reputation: 86482

Look at the source for rdesktop - A Remote Desktop Protocol Client for accessing Windows Terminal Services.

For a quick feel, view the source for tcp.c: Protocol services - TCP layer.

Upvotes: 3

Brian R. Bondy
Brian R. Bondy

Reputation: 347526

You're probably looking for the Windows Terminal Services API or also known as the Remote Desktop Services API.

Upvotes: 1

Related Questions