I'm making a script that downloads the indexpage of a website, parses it, and displays me the info I need. The problem is the website is on a webhotel, so it has a virtual host. Meaning, this particular webpage has the same IP-address than the webhotel itself.
Here's a copypaste from the mIRC Help:
"/sockopen [-de] [bindip] <name> <address> <port>
The /sockopen command initiates a connection to the specified address and port. You can specify either an ip address or a named address (which will be resolved to an ip address)."
Now if I understand this correctly, mIRC resolves the IP-address of the host and initiates the connection directly to that IP-address. Which like I wrote earlier is the same of the webhotel's. So when I try and download the indexpage I want, I end up getting that of the webhotel's
I realize this is a long shot, but is there
any way to get mIRC to connect to a hostname instead of its' IP-address?