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
Goober5000
37a24b2a14
handle connection speed in a user-friendly way
...
1. Use a sensible default for the connection speed
2. Remove the `Psnet_connection` variable which is now obsolete: "its only purpose now is to change the default object update value for a player if it's set to dialup, and that's easily done in-game already"
The "You must define your connection speed" popup will now no longer appear unless it has been explicitly set to an invalid value.
Applies recommendations from, and fixes, #6402 .
2024-11-03 23:09:32 -05:00
Sébastien Noel
f149c36b44
Fix a few typos ( #5598 )
2023-10-24 20:33:45 -04:00
Taylor Richards
20094df4cd
address issues causing network connectivity failures on macOS ( #4473 )
2022-07-07 03:15:27 -04:00
Taylor Richards
cd5e1c297b
replace old multicast code with mdns/dns-sd
2020-11-21 00:57:03 -05:00
Taylor Richards
d30c0a2024
fix various errors from travis/appveyor
2020-08-30 00:03:14 -04:00
Taylor Richards
e401f96cc3
add option to prefer IPv4 DNS addresses
2020-08-30 00:03:14 -04:00
Taylor Richards
9bb9aedc2a
add a more robust filter for traffic from ourselves
2020-08-30 00:03:14 -04:00
Taylor Richards
dd376b19d9
handle IPv4+IPv6 capable machines in a better way
2020-08-30 00:03:14 -04:00
Taylor Richards
72dd631520
anonymize logged IP addresses
2020-08-30 00:03:14 -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
Taylor Richards
9ae62e9db8
remove some cruft from previous attempts
2019-12-12 08:06:59 -05:00
Taylor Richards
c286c4c2ce
add support for automatic port forwarding
2019-12-12 08:06:59 -05:00
Taylor Richards
29ce72f66f
switch to using winsock2
...
also removes some obsolete win32 #ifdef's and
cleans up some windows #include's
2019-11-15 23:33:35 -05:00
Taylor Richards
bd9880bc9b
replace FS2NetD with PXO
2019-11-08 02:07:14 -05:00
asarium
0b4ca71eba
Enable modernize-deprecated-headers
2018-04-25 11:12:41 +02:00
jg18
cb65ca8655
Revert changes to net_addr struct format.
...
Revert changes that were made to net_addr struct format in commit 220fa18.
The net_addr struct is now the same as it was in retail.
2016-02-25 10:28:49 -08:00
jg18
1adb64e39d
Remove IPX support.
...
Remove support for the IPX protocol. The IPX selector button in the multi
options menu is now hidden, and the TCP button is disabled since there is no other option.
2016-02-25 10:28:49 -08:00
Zacam
9678d18bc3
Part One: Synchronization pass of Trunk and Antipodes Differences.
...
Whitespace/tab mostly.
aicode does have a change of an Int3 to an Assertion.
bmpman has an update to bm_next_handle.
2011-09-09 09:37:45 +00:00
Zacam
9254dae233
Resolves LNK4221 under MSVC. multi_oo and psnet are not actually linked/used, so references pointing to them now go to multi_obj and psnet2 respectively. (Same as Antipodes 6881)
...
http://www.hard-light.net/forums/index.php?topic=73147.0
2011-01-30 05:59:36 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
taylor
fcb28b51f1
better error handling for when TCP socket is already in use (Mantis #1626 )
...
fix missing protocol XSTR that used the wrong tstring for display
2008-10-05 01:17:45 +00:00
Goober5000
2394e9801b
remove PreProcDefine #includes in FS2
...
--Goober5000
2005-07-13 03:35:36 +00:00
taylor
694fbd606a
merge with Linux/OSX tree - p0131
2005-01-31 10:34:40 +00:00
Kazan
7d1c8b185d
added preprocdefines.h to prevent what happened with fred -- make sure to make all fred2 headers include this file as the _first_ include -- i have already modified fs2 files to do this
2004-08-11 05:06:36 +00:00
Kazan
d1be81e41b
Lobby GUI screen restored
2004-03-08 22:02:39 +00:00
Kazan
5358cfb5c4
*WARNING* Multi Compatability with previous versions now in question *WARNING*
...
[But that's ok, i incremented the multi version number the other day so that it will say "you don't have a compatable version"]
I upped the MAX_PACKET_SIZE from 512 to 4096 -- try and bust multi with more than ?130? ships now :D
2003-11-14 22:47:37 +00:00
penguin
0c503be8d1
The big include file move
2002-08-01 01:41:11 +00:00
penguin
f1252fce9a
fixed bug where winsock.h wasn't defined
2002-07-26 16:12:05 +00:00
penguin
72db48921a
Linux port -- added NO_STANDALONE ifdefs
2002-07-22 01:22:26 +00:00
penguin
3463682f1a
Back-port to MSVC
2002-07-07 19:56:00 +00:00
penguin
8f92eebd34
Warpcore CVS sync
2002-06-03 04:10:40 +00:00
penguin
663b3471b9
Volition sources -- warpcore CVS import
2002-06-03 03:26:03 +00:00