Taylor Richards
6a9b6a38e9
fix several uninitialized variable warnings ( #7087 )
...
Initialize structs as appropriate in PXO and mdns code that were reported by
gcc/clang/coverity.
2025-10-14 13:51:53 -04:00
Taylor Richards
85b37e098e
remove "safe" versions of FD_SET/FD_ISSET ( #6918 )
...
The socket is a value to be assigned, not an index to be used. As such there
is no safety check to be done here and doing so just breaks things.
Fixes networking on Windows.
2025-08-08 20:43:34 -04:00
BMagnu
68f3fa6d8c
Actually compile with proper optimizations in a release build. ( #6336 )
...
* Change optimization to O3 and enable LTO
* Remove ODR violations
# Conflicts:
# code/menuui/playermenu.cpp
# code/osapi/osregistry.cpp
* Fix uninitialized structs
* Remove negative alloc warning
* O3 for mac
* Remove GCC13 warnings
* Fix warning
* Properly fix weapon alloc size
* Try to placate GCC9's Psnet_socket estimation
* remove warnin
* Fix safe fd set check
2024-11-25 20:10:38 +01:00
Taylor Richards
0e059459d8
improve PXO data validation code ( #3817 )
...
* add batch validation for tables
* add batch validation for missions
* handle server connection errors in a more useful way
2021-12-23 09:06:26 -05:00
Taylor Richards
d5afd8d79b
bump tracker packet sizes to match server
...
- allow for size of IPv6 game list packet (fixes #3543 )
These larger packet sizes aren't required for
FS2/FS2_Open, but just keeps the code in sync.
2021-06-27 13:43:19 -04:00
Taylor Richards
db0d0efd55
port PXO tracker client code to IPv6
2020-08-30 00:01:00 -04:00
Taylor Richards
92be33ad9c
first pass at IPv6 support
2020-08-30 00:01:00 -04:00
pkubaj
87c5544b7b
Change to SCP_BSD
2020-02-10 15:47:17 +01:00
pkubaj
d7e40d2bcc
Fix build on FreeBSD
...
sys/socket.h is needed for AF_INET.
2020-01-28 16:31:23 +01:00
Taylor Richards
bd9880bc9b
replace FS2NetD with PXO
2019-11-08 02:07:14 -05:00