mIRC Homepage
Posted By: rela $sock - 29/12/03 06:12 PM
Is there any way to get the URL your socket is connected to ?
Like surfing to a site which will redirect you to another, then I want to get that second URL.
Thx anyway for any help...
Posted By: module Re: $sock - 06/01/04 11:57 AM
You could use DNS to resolve the current IP your socket is connected. For redirects you'll have to use the ON SOCKREAD event and parse the results, extracting the redirect URL and open another socket to it or close the current socket and open another socket to it.
© mIRC Discussion Forums