mIRC Homepage
Posted By: tparry using sockets on mirc and going through proxy - 25/03/08 02:41 AM
Im trying to use sockets from mirc at work, but my work uses a proxy to browse.
My firefox shows:

Manual Proxy Configuration:
Proxy: blah.blah.com
Port: 83
(use this proxy server for all protocols)

How can I get my sockets to work through mirc with a proxy?
I tried going to the firewall settings in mirc options and enter the same hostname and port, but it still doesnt work.
Originally Posted By: tparry
Im trying to use sockets from mirc at work, but my work uses a proxy to browse.

So at work you're using proxies to connect to sockets?
Quote:
My firefox shows:

Manual Proxy Configuration:
Proxy: blah.blah.com
Port: 83
(use this proxy server for all protocols)

How can I get my sockets to work through mirc with a proxy?
I tried going to the firewall settings in mirc options and enter the same hostname and port, but it still doesnt work.

Well then you're missing other stuff that FireFox didn't include, like whether it's socks4 or socks5 or not.
After I try to open the socket, I get a $sockerr=4 in sockopen.
I have no idea how to find the error codes for $sockerr, but I guess its proxy related.
My firefox uses a proxy to get out to the internet. I cant connect to any website without the proxy configured.

I tried changing my mIRC firewall protocol to Socks4, Sock5 & proxy. None of them worked.
Socket commands do *not* route through proxies. You must do this yourself. Only internal IRC connections via mIRC utilize the proxy settings...

It'd be a nifty feature suggestion though.
Originally Posted By: argv0
Socket commands do *not* route through proxies. You must do this yourself. Only internal IRC connections via mIRC utilize the proxy settings...

It'd be a nifty feature suggestion though.


Oh, so you're saying I cant get it working? Darn...
It would be good if there was a proxy switch for the /sockopen command. Doesnt appear to be anything in the help (6.21).
well that's cause it's not in there.. make a new post in the feature suggestions board, its a relatively good idea.
I believe he is saying you can do it but you have to write the code for it. Or connect to your IRC server without a socket and let mIRC route.
I said the first thing. I did not say the second thing-- I'm pretty sure he understood me though
© mIRC Discussion Forums