Hey guys, I have a pretty simple one here that I've wondered for quite some time.

I've been a programmer for many years, and have done quite a bit of socket work (both locally and remotely) I know a bit of what I'm talking about, just to give you an idea before I ask my question :)

Normally, on a home network, in order to use a client/server application you need to open your gateway/firewall settings and allow port forwarding on that specific port.  As you can imagine this isn't very user friendly.

LogMeIn is a service that allows you to remotely access your PC from the web.  I'm not really concerned with how it works in terms of remote control, but I am very curious as to how it works with recognizing that your computers are online, and allowing you to connect directly to it even though (since there are no firewall setup procedures inside of the installer) you can't connect to it from the outside world directly.

Does LogMeIn simply connect to a server and idle there until the user comes online and wants to use the computer?

I'm making something similar that will be distributed, and I really need to know the basics of how this is performed rather quickly.  Any help at all will be appreciated, highest points possible to the best answer in the shortest time!


asked 12/01/2011 05:09

ProjectZIG's gravatar image

ProjectZIG ♦♦

2 Answers:
Logmein and gotmypc encpsulate their traffice inside port 80 HTTP.  The client establishes a connection with the mothership (logmein or gotmypc's server(s)) and periodically polls the server to indicate it's alive and check if there is anything to do.  When you establish a remote connection, you are connecting to the logmein server which sets up the session with the client and you all encpsulated within HTTP.  This is very similar to how Bot nets work.


dons6718's gravatar image


Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



Asked: 12/01/2011 05:09

Seen: 212 times

Last updated: 12/08/2011 01:55