Hi everyone thanks for taking your time to read and help!
Okai I shall disect my problemz noawz!
Okai so I'm programming a 'Port sniffer' (as my friend likes to call the project) for me and my friends to check wether necessary ports are open or not. For example if I want to host a certain game I need ports xxx and xxx open. What i want to do is check wether the firewall on the router is allowing these ports to be open.
I browsed through the forum to look for something similar but didn't find anything pointing me at the exact right solution.
I did see a very handy tutorial that explains how you can check the ports on a specific IP adress. But what I want is a program that goes like:
"Plug it in! Run it! and boom ur ports for this and that are closed!"
Not one where the person needs to look up the "gateway / external IP" and his own (IP 127.0.0.1) then put it into the program. Like in the following tutorial. http ://forum.codecall .net/vb-tutorials/928-visual-basic-6-0-tutorial-making-port-scanner.html#post5109
Srr 'bout broken link not enough post count
The tutorial is awesome but it's not very handy as goes for repeated use for 'TCP/IP' morons. Not everyone knows his routers IP or knows how to look it up... And on top of that he checks all Ports... while I only need a few certain types of ports (which i shall save in a seperate database).
And i also need to check both the PC's firewall aswell as the Router's firewall if there is one. I can imagine how to put in the exact ports I need.
So the exact question I have is the following. How do I get the IP adress of the gateway through my program? Or even better then internal IP adres, one can get through sites like (this one's dutch) watismijnip .nl to get the external IP adress. Ow and looking up the external IP beforehand is out of the question, I'm not always around when they want to run the program...
I'm not familiar with WinSocket etc. but I'm used to program with a database.
Already thanks in advance.
Shameless bump!
Come on guys is there really nobody who can help me with this problem???
It would appear that the answer is: no one can/will help. Please stop bumping.
It seems the Basic programming lout here isn't as well informed as I thought... Guess i'll have to go look on another forum...
Well can't ask for everything...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks