| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 05, 2008 7:05 pm Post subject: Remote Desktop Programming |
|
|
I was wondering if there were any tutorials on programming a remote desktop program or documentation on the functions/structures/enums used for remote desktop. I want to be able to connect to my computer from school without having to buy logmein/gotomypc full edition.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Fri Sep 05, 2008 7:14 pm Post subject: |
|
|
Without buying software?
I know! Get a Laptop!
_________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Sep 05, 2008 7:17 pm Post subject: |
|
|
| VNC
|
|
| Back to top |
|
 |
G0DFATHER How do I cheat?
Reputation: 0
Joined: 14 May 2008 Posts: 0 Location: C:/Nexon/Maplestory
|
Posted: Fri Sep 05, 2008 7:24 pm Post subject: |
|
|
Use logmein no coding or hard to setup stuff just install and done www.logmein.com
_________________
GROOT FTW!!! |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Fri Sep 05, 2008 8:07 pm Post subject: |
|
|
| G0DFATHER wrote: | | Use logmein no coding or hard to setup stuff just install and done www.logmein.com | that wasn't the point.
_________________
|
|
| Back to top |
|
 |
BanMe Master Cheater
Reputation: 0
Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
|
Posted: Fri Sep 05, 2008 8:13 pm Post subject: |
|
|
maybe off topic here but did u try msdn
im pretty sure Remote Desktop has its own Protocol and API specific to developing ..
also other valid solutions 'telnet and ftp' Servers along with a 'Apache' Web interface can be powerful tools with just small and light coding
greets BanMe
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Fri Sep 05, 2008 9:09 pm Post subject: |
|
|
Remote Desktop usually use screenshot method.. as it takes screenshots 30 or more times per second.. and stores em in the buffer and transfers em to a image viewing component client side. So most of the remote desktop tools lag they do around 100 KB data per second only thing that makes it so small is compression of the images in realtime..
Yes VNC is the best in my opinion Remote Desktop could crash the computer hosting the session
_________________
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Fri Sep 05, 2008 9:16 pm Post subject: |
|
|
server:
send/recv
setcursor pos
keybd_event
some way to take a screenshot
client:
send/recv
getcursorpos
some way to display pictures
Look up some basic trojan sources, it's pretty much the same thing.
But VNC would be a much better option.
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Fri Sep 05, 2008 9:17 pm Post subject: |
|
|
I'm not looking for programs to remote desktop with, I'm looking for documentation or tutorials on how to use API used for created remote desktop programs. At the last post, how do you control the desktop then if it's only taking screenshot?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
Posted: Fri Sep 05, 2008 9:21 pm Post subject: |
|
|
take a screenshot of the desktop, send it to the client, getcursorpos on client, send coords to server, setcursorpos on server. same with keys.
_________________
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Sep 06, 2008 12:33 am Post subject: |
|
|
| oib111 wrote: | | I'm not looking for programs to remote desktop with, I'm looking for documentation or tutorials on how to use API used for created remote desktop programs. At the last post, how do you control the desktop then if it's only taking screenshot? |
you don't control the desktop you pretty much control a picture which you have to believe is his desktop while its updating in realtime (you just send packets to move his mouse) and you get a image update by cubes where the mouse is mostly it doesn't want to update things that don't change...
It has a advanced logic to detect differences between 2 different screenshots to avoid sending same picture.. so it sends chucks of only changed pictures check out VNC.. if you change the bg image on your desktop it will update by little box's like 12 times until it fills it all up.
Nevermind it doesn't have to even be that advanced API
loop x up to 64 maybe 128? chunks (cuz doing a full desktop getpixel will lag)
loop y
if(GetPixel(x,y) != oldColor) updateRequired = true;
end loop y
end loop x
_________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sat Sep 06, 2008 1:40 am Post subject: |
|
|
Offtopic: TeamViewer is the mother fucking BEST Remote Controler EVER!!
Ontopic: As renko said "Transfer GDI/RBG over TCP/UDP connection" something like that
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sat Sep 06, 2008 3:18 am Post subject: |
|
|
Team Viewer is pretty good.
if you want to code one of your own you have to take a picture and simply send it to the server, use SetWindowsHookEx to get keyboard and mouse events and then use SendInput or something on the remote computer.
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Sat Sep 06, 2008 12:30 pm Post subject: |
|
|
| Use TCPIP but that might run into a firewall problem.
|
|
| Back to top |
|
 |
|