Taylor Richards
cd5e1c297b
replace old multicast code with mdns/dns-sd
2020-11-21 00:57:03 -05:00
Taylor Richards
424840eabf
fix issues with psnet init
2020-10-18 05:31:24 -04:00
Taylor Richards
46bc4e2e8c
fix memory error which broke reliable sockets
2020-09-20 20:49:25 -04:00
Taylor Richards
b14122425a
use newer define for multicast group joining
2020-09-19 06:35:19 -04:00
Taylor Richards
3e04e955a4
fix build issues on FreeBSD
2020-09-01 14:36:10 -04:00
Taylor Richards
d30c0a2024
fix various errors from travis/appveyor
2020-08-30 00:03:14 -04:00
Taylor Richards
ff01dc02a7
adjust data type to avoid header conflict
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
52721dec06
report whether psnet socket is IPv6-only or dual-stack
2020-08-30 00:03:14 -04:00
Taylor Richards
459263b35f
fix issues with reliable socket logging
...
- better error handling for ip string
- port number in proper byte order
- anonymize ip address
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
83d6d0fd53
bind psnet socket to any address
...
fixes issue where an IPv6 internet connection would fail
to connect properly if socket is only bound to a local
IPv4 interface
2020-08-30 00:03:14 -04:00
Taylor Richards
01ee4d077b
make sure we are dual-stack by default (everywhere else)
2020-08-30 00:03:14 -04:00
Taylor Richards
90dbc8f2c3
deal with compiler errors and warnings on Windows
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
e9cf9ac10d
deal with type warnings on Windows
2019-11-18 12:00:26 -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
asarium
fe0c6a629a
Do not allow failure for Windows Travis builds anymore
2019-08-22 17:36:28 +02:00
plieblang
b1881a700d
Fix copy/paste error when closing socket
2018-06-07 12:12:54 -07:00
asarium
eeed22b91a
Enable misc-unused-parameters
...
clang-tidy was used for fixing the warnings. It is not clear if this is
actually an improvement so this may still be disabled later.
2018-04-25 11:57:55 +02:00
asarium
dcac9e7223
Enable more misc- checks
2018-04-25 11:12:41 +02:00
asarium
0b4ca71eba
Enable modernize-deprecated-headers
2018-04-25 11:12:41 +02:00
asarium
9b5710e8c3
Fix various issues detected by MinGW
...
This fixes various issues I found while trying to compile FSO in a cross
compilation setup using MinGW. This is a prerequisite for merging Tea-CI
support.
2018-04-21 15:13:25 +02:00
asarium
e8fe940287
Cleanup config.h
2016-08-22 22:17:34 +02:00
asarium
2d4d0081cd
Merge branch 'master' into antipodes_/sync
...
Conflicts:
code/cmdline/cmdline.cpp
code/io/timer.cpp
code/network/multi.cpp
configure.ac
projects/MSVC_2005/Fred2.vcproj
projects/MSVC_2005/Freespace2.sln
projects/MSVC_2005/Freespace2.vcproj
projects/MSVC_2005/code.vcproj
projects/MSVC_2008/Fred2.vcproj
projects/MSVC_2008/Freespace2.doxproj
projects/MSVC_2008/Freespace2.vcproj
projects/MSVC_2008/code.vcproj
projects/MSVC_2010/Fred2.vcxproj
projects/MSVC_2012/Fred2.vcxproj
projects/MSVC_2012/Freespace2.vcxproj
projects/MSVC_2012/code.vcxproj
projects/MSVC_2012/code.vcxproj.filters
projects/Xcode4/FS2_Open.xcodeproj/project.pbxproj
projects/Xcode4/Frameworks.tgz
projects/Xcode4/Info.plist
2016-03-11 12:36:52 +01: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
asarium
5f23381c07
Merge branch 'master' into antipodes_/sync
...
Conflicts:
code/cmdline/cmdline.cpp
code/globalincs/pstypes.h
code/globalincs/windebug.cpp
code/graphics/2d.cpp
code/windows_stub/stubs.cpp
2015-10-31 17:18:29 +01:00
Goober5000
ccc71a8e8b
looks like we'll need them in these three other files too
2015-10-25 21:20:57 -04:00
Goober5000
b82d0c579d
convert qsort to std::sort
2015-10-25 19:16:36 -04:00
asarium
b500e072da
Use cross-platform compatible struct
2015-08-28 11:46:10 +02:00
Cliff Gordon
6e0f9c1cd2
[fix/nat_multiplayer] Simplify the new psnet check.
2015-06-29 16:51:49 -05:00
Cliff Gordon
5311ea4f7a
[fix/nat_multiplayer] Vestigare's submitted patch for allowing multiple users behind a NAT to connect to a remote standalone.
2015-06-29 16:50:06 -05:00
niffiwan
01629bd946
Redo 9903 - this is a more robust solution
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9905 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:32 +10:00
niffiwan
7348b9b08d
remove gcc warnings [-Wunused-but-set-variable] in network/psnet2.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9904 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:32 +10:00
niffiwan
2fe56e6780
Coverity 1093639: fix out of bounds access (ip_addr.sin_addr with proto TCP)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9903 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:31 +10:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
karajorma
893701d0b7
This might or might not help with Mantis 1841. Either way Assertion > Int3() anyway.
2012-11-28 09:18:23 +00:00
Echelon9
40983c4f40
GCC warning: variable set but not used
2012-06-17 13:32:04 +00:00
Echelon9
19ae6528e0
Cases of commented out Int3() indicate areas of old, redundant code.
2011-11-17 11:07:53 +00:00
Echelon9
6de5b02e77
Documentation: Code clean up of psnet2.cpp
2011-09-07 12:28:18 +00:00
Echelon9
9086c95131
PVS-Studio fix (courtesy of niffiwan): V512 A call of the 'memcpy' function will lead to underflow of the buffer (psnet2.cpp)
2011-09-07 11:58:47 +00:00
Zacam
c946bc4a45
PVS-Studio fix (courtesy of niffiwan): V512 - A call of the 'memcpy' function will lead to overflow of the buffer '& ip_addr.sin_addr'.
2011-09-07 10:00:03 +00:00
Echelon9
4201582786
Let's have another go at this one... around we go again
2011-09-01 13:08:32 +00:00
Echelon9
3063b2cd85
Undo my rather silly patch, apply niffiwan's patch as a temporary measure (at least).
2011-08-31 13:48:23 +00:00
Echelon9
9be05a4d7f
PVS-Studio fix: V523 The 'then' statement is equivalent to the 'else' statement (psnet2.cpp).
...
This one was particular bad as it code have lead to remotely induced crashes over the network with oversize packets.
2011-08-31 13:12:46 +00:00
The_E
0525e871d0
PVS Studio related: Mark false alarms as such.
2011-08-30 17:46:49 +00:00