]> icculus.org git repositories - divverent/darkplaces.git/commit
redesigned lhnetaddress_t struct to be a generic container for sockaddr,
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Aug 2008 13:16:27 +0000 (13:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Aug 2008 13:16:27 +0000 (13:16 +0000)
commit3b30f1697366dcf485232953b44b51b2eaf3e69f
treef5f06276aabe19a8ed67c93911c5080e67691cb8
parent40d83d685bc5dd35a5ae5de93ee3b527abb931d4
redesigned lhnetaddress_t struct to be a generic container for sockaddr,
this fixes runtime errors on FreeBSD where sockaddr_in does not match
the one that lhnet used to use
changed lhnetaddress_t struct to have a native port value rather than
having to poke at the sockaddr variants all the time to access port
values (now only a few places set/get the actual encoded port value)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8460 d7cf8633-e32d-0410-b094-e92efae38249
lhnet.c
lhnet.h