Click to See Complete Forum and Search --> : Best language to develop with


clonmelog
11-06-2005, 07:47 PM
Hello,

Im about to take on a project in college and what im basically wanting to do is to create a program that will run on startup of a users PC and check the current IP of the computer. I then want the program to send this data to an online db so that it can be viewed on a webpage. The basic idea is something similar to that done by dyndns.com so that users with dynamic IP's can find out the IP of their computer and as a result access it remotely without having to write down their IP every time.

Im not sure which technologies would be the best to implement this as all of my previous development has been online websites etc.... ive heard a lot about how great ruby is but dont know if that would do anything like this. Ive also been advised that .NET would be a good choice but at the same time done really know what this is and dont know how to get started with it.

any suggestions are welcomed.

thanks. :)

Sheldon
11-07-2005, 06:42 PM
You could do that in most serverside codes, the only thing that would matter is what you know. It would be a one sided script your would have to run every time you connected, like set it as your homepage or something.

but then the home users computer must be able to run it.

PeOfEo
11-08-2005, 12:38 AM
Trouble is you have to connect to a server to get your remote ip address. Your computer can't see a network's ip from the inside of that network. So you will need a server app to listen for connections too. You could do somethink like posted above too and use the existing http protocol and a server side script, you could get that ip address through a socket... just get the raw code like you would get if you telnetted to the page and just only have the server variable output on the page, no other code.