mIRC Home    About    Download    Register    News    Help

Print Thread
/socklisten, upnp and dual socket #270521 19/07/22 09:25 PM
Joined: Jul 2006
Posts: 3,930
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,930
When a /socklisten socket is bound to ipv6, mIRC is not attempting to forward the port using upnp if the -p switch is used, which is correct because ipv6 does not have port forwarding.

However dual socket changed the game, now there is a problem: when you create a listening dual socket, you bind to ipv6, but you're allowing ipv4 as well, therefore mIRC should actually be forwarding the port with upnp on ipv4 in this case.

Code
//socklisten -dp 0.0.0.0 name port 
Upnp works on ipv4 -- correct

Code
//socklisten -dp :: name port 
Upnp doesn't work on ipv6 -- correct

Code
//socklisten -dpu :: name port 
Upnp doesn't work on dual socket for ipv4


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: /socklisten, upnp and dual socket [Re: Wims] #270523 20/07/22 08:16 AM
Joined: Dec 2002
Posts: 5,150
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,150
Thanks this issue has been fixed for the next version.