[quake3] Mergine unix_net.c and win_net.c questions

Matt Turner mattst88 at gmail.com
Wed Aug 15 09:25:26 EDT 2007


On 8/14/07, Ryan C. Gordon <icculus at icculus.org> wrote:
>
> > 1) In Sys_IsLANAddress, why does the windows version check if IP is
> > loopback and not check if the address is an internal class {A,B,C}
> > address as in unix_net.c? The following code checks if IP is loopback
> > in win_net.c.
>
> Because the Unix stuff was maintained by a developer at Loki, and he was
> much more detailed-oriented for plumbing issues like that...the lowlevel
> bits of the Windows code, maintained at Id, probably never changed as
> soon as they worked.

So both checks should be kept and made into one code path?

Matt



More information about the quake3 mailing list