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

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Dec 23 17:38:25 EST 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4428

           Summary: dynamic net_port for NAT gaming
           Product: ioquake3
           Version: SVN HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: arxeio at gmail.com
         QAContact: quake3-bugzilla at icculus.org


port in net_port for clients can be changed to 

49152 + rand() / (RAND_MAX / (65535 - 49152 + 1) + 1)

//according to c faq answer http://c-faq.com/lib/randrange.html

that way people don't have to wonder why they can't game on same IP and the
range 49152 - 65535 should be ok since it's also considered a 'dynamic' range.

-- 
Configure bugmail: http://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