mIRC Homepage

"Use random ports for listening sockets"

Posted By: TPC

"Use random ports for listening sockets" - 05/04/03 08:58 PM

in "options > connect > options > advanced" there is a checkbox called "Use random ports for listening sockets".

What exactly does this do, in detail? the reason that I want to know is that my schools firewall blocks irc, but if I check this option it works anyway. Maybe I can get my prog to work trought the firewall using this, so I need detailed info. so does anyone know a doc or something explaing this, or can write a short explanation?
Posted By: Poppy

Re: "Use random ports for listening sockets" - 05/04/03 09:02 PM

If your school has blocked access to IRC, I doubt anyone here will help you get round it.
Posted By: TPC

Re: "Use random ports for listening sockets" - 05/04/03 09:06 PM

They haven't blocked irc. its just that all ports are closed except port 80 and some others. and they won't open 6667 just because I want it.

And, I don't need help to get on irc. I CAN get on irc if i check the checkbox that I talked about. I just want to know how it works so I can do it in my own prog.
Posted By: Edward_K

Re: "Use random ports for listening sockets" - 08/04/03 05:15 AM

mIRC just picks a random local port for the TCP connection.
Posted By: TPC

Re: "Use random ports for listening sockets" - 08/04/03 10:32 AM

that wouldn't make it so it by-passes the firewall, it must do something else too.
Posted By: Edward_K

Re: "Use random ports for listening sockets" - 09/04/03 02:42 AM

The random local ports option makes mIRC use non-consecutive ports when creating sockets, this might help against DoS attacks trying to disable your server or dcc connections.

-Quote from mIRC help file
© 2022 mIRC Discussion Forums