Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all, i decide to make an application for remote controller deskstop.
Just a basic clinet,server with send screen capture and possibility to click.
The problem is i have no idea how to start, and i've no experience with rfb protocol.
Thanks.

What I have tried:

I googled but i can't find a point to start.
Posted
Updated 8-May-20 6:23am
Comments
ZurdoDev 8-May-20 12:27pm    
You have to transmit, likely over tcp, lots of data in a very efficient manner. This is no small task.

Quote:
I googled but i can't find a point to start.

You can go UltraVNC, a freeware project, source code is on SourceForge: Home - UltraVNC VNC OFFICIAL SITE, Remote Access, Support Software, Remote Desktop Control Free Opensource[^]
 
Share this answer
 
Comments
ZurdoDev 8-May-20 12:25pm    
I believe OP wants to write their own remote desktop code, not use a 3rd party.
Patrice T 8-May-20 12:32pm    
Seeing how others have done is a lead.
Nothing prevent OP to recreate what he wants.
ZurdoDev 8-May-20 12:34pm    
Good call. I hadn't noticed your link which mentions the source code being available.
Patrice T 8-May-20 12:45pm    
:)
riccardocarloni 8-May-20 17:25pm    
I want create my client application just for understanding how it works.
I see the LibVncServer library.
But i need more answer about the concept of the protocol, i think i want use RFB, but for example, sending the screen, is a loop of snapshot, and comparing the screen we can determinate the mouse movement? I’m realy lost in this argument, i used socket many times in C, but in this fields I’m really stuck.
The remote Desktop is proprietary software by Microsoft, and you would need to rely on what they offer to you if you want to use that software. You can start here; Remote Desktop Protocol - Win32 apps | Microsoft Docs[^]

There are some open-source alternate resources and protocols that you can look into and use instead of building something from fresh. Something like FreeRDP would help you in this: FreeRDP[^], I have used this protocol on Linux environment as well.

Taking a screenshot, sharing control is a secondary part. You start with understanding whether a protocol fully supports your requirement or not.
 
Share this answer
 
Comments
ZurdoDev 8-May-20 12:25pm    
I don't think OP was asking how to use Microsoft's remote desktop, OP wants to write their own.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900