I have a program that connects to a webpage. The program is already compiled. Is there a way to tell what page it's connecting to?
you can check from command prompt using "netstat" command. it will give you all addressess where your pc is connected to. If you want to check this one only then close all other browsers and services from internet so that you can check it accurately.
You can use a network sniffer like etheral or winsock packet editor. You should probably use WPE it is easier to understand. And if you add the -o option to netstat you can find out the PID and then look them up using taskmanger to see what process is calling the webpage.
I couldn't get anything out of Ethereal or Winsock Packet Editor. The -o helped, but it's only showing the server, not the complete URL.