mIRC Home    About    Download    Register    News    Help

Print Thread
#73464 03/03/04 07:29 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline OP
Hoopy frood
OP Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
It appears that mIRC is not always picking a listening port from the range specified in the options dialog.

Right now I'm helping a user to solve a DCC problem, and although his specified range is 2070-2090, the port number 2091 appeared in one of his DCC chat requests.

Please fix.

Related post

#73465 03/03/04 08:39 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
When I'm helping a user, this tends to happen because the user is doing something silly on his part, like networking (port forward/ virtual server) those ports locally instead of on their router or proxy terminal.

Ask the user to type: //say $portfree(2070) $portfree(2080) $portfree(2090)


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#73466 03/03/04 08:48 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline OP
Hoopy frood
OP Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
He's done already, but next time I will laugh

#73467 03/03/04 09:02 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
ill agree with that, i have helped people setup fservers standardly most ill tell to forward portsd 5000-5005 but sometimes mirc well use 5006 or 7, i checked on the fserver script, and it does just a standard dcc, every once and a while it exceeds the specified upper port. (while others are free within the range)

#73468 04/03/04 12:46 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
This should be expected to happen from time to time, when there are a very limited number of ports to choose from, and especially after having performed multiple sends. sockets take time to "cool down" before they can be used again, and if mIRC feels that none of these sockets are available it simply tries the next best thing.

You should also be aware that other programs might be making use of the ports you have selected for mIRC. Ports 1024 through 5000 are shared application ports, and should never be dedicated to the operations of a single application. I strongly urge all users who need to define a port range through their router or firewall, to select a range above 12000 and below 65000. This will both limit interference with other programs, breaking other programs, and will make it harder for someone to predict and intercept.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#73469 04/03/04 03:45 PM
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
That's quite normal, if mIRC is unable to use a port in the specified range for any reason, eg. if all ports in that range are in use or in a wait state, mIRC will default to using any available port.


Link Copied to Clipboard