[quake3-bugzilla] [Bug 4428] dynamic net_port for NAT gaming

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Tue Feb 8 13:24:46 EST 2011


Thilo Schulz <arny at ats.s.bawue.de> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |arny at ats.s.bawue.de
         Resolution|                            |WONTFIX

--- Comment #5 from Thilo Schulz <arny at ats.s.bawue.de> 2011-02-08 13:24:42 EST ---
I'm sorry. To change this, you'd need significant changes to the way sockets
are opened and handled.
I tried going through this in my head, but there's no easy way to do this.
You'd need to either:
close/reopen the socket before a connect to a server and bind to a random port,
and close then reopen the socket with standard port given in net_port after
disconnect. Or you would have to open a second ipv4 socket for the client part,
and add this one to the select syscall and also make sure it reads from that
Users can work around this by manually setting net_port to a different value.
Yes I realize it's not very user friendly. Maybe you can send a patch and if
it's reasonably clean I'll accept it.

Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the quake3-bugzilla mailing list