Commit Graph

21810 Commits

Author SHA1 Message Date
Benau
e9828b8ab3 Fix wrong IP detection in apple devices 2020-02-05 01:05:18 +08:00
jpenguin
4343dad28d
Update NETWORKING.md
Updated CentOS release file
2020-02-03 15:55:46 -08:00
Benau
f8bce05dd6 Fix crash caused by pop sorting with deleted message 2020-02-04 01:26:26 +08:00
Benau
d147291e2a Clean temp files when starting STK instead of exiting 2020-02-03 16:52:45 +08:00
Benau
5683ff7494 Fix sticking quit menu of kart selection screen 2020-02-03 16:40:08 +08:00
Benau
7ba8dfd0a0 Adjust size for some language 2020-02-03 16:11:09 +08:00
Benau
b816f94269 Add a continue button for multitouch device in kart selection 2020-02-03 15:31:25 +08:00
Benau
db95d2f88f Clean temp files manually in mobile STK 2020-02-03 09:39:43 +08:00
Benau
00c7bf561e Fix news manager assert error when exit too early 2020-02-03 01:27:17 +08:00
Benau
35463a12da Avoid possible infinite loop 2020-02-03 00:48:16 +08:00
Benau
0134e9c664 Update translation source 2020-02-02 16:46:05 +08:00
Benau
a079019bb2 Fix possible too long translation 2020-02-02 16:38:26 +08:00
Benau
26dbf67d53 Ask if user want to play tutorial when new profile is created 2020-02-02 16:32:57 +08:00
Benau
906dca1a94 Fix possible address family mismatch (found in android) 2020-02-02 10:52:19 +08:00
Benau
ecb31ad217 Use ipv4only.arpa to detect NAT64 prefix (RFC 7050) 2020-02-02 00:13:25 +08:00
Benau
4ad7e585f8 Remove duplicated code of getaddrinfo 2020-02-01 15:34:41 +08:00
Benau
ae2406d193 Don't print error message for IP detection in case of domain error 2020-02-01 14:48:58 +08:00
Benau
58f4579062 Use getMonoTimeMs() to avoid rand() return the same value in Windows 2020-02-01 14:15:44 +08:00
Benau
10a158db70 Use correct encoding for error message from getaddrinfo in Windows 2020-02-01 14:05:52 +08:00
Benau
33d228bb6d Clean up header files and remove unused class 2020-02-01 10:45:15 +08:00
Benau
23ad6f09a6 Clean up direct connection code with full IPv6 support 2020-02-01 09:30:40 +08:00
Benau
1e9dab821c Allow pre-set IP type in config.xml 2020-01-31 13:20:11 +08:00
Benau
ab315fab4e Remove firewall restriction for IPv6 in server documentation 2020-01-31 00:44:26 +08:00
Benau
17bf24c6d1 Avoid player score being reset if connection to stk addons is broken 2020-01-30 16:55:40 +08:00
Benau
652bf5480a Move port detection to Network class 2020-01-30 16:47:19 +08:00
Benau
e1188c5532 Fix non random client port (NetworkConfig initialized too early) 2020-01-30 11:30:54 +08:00
Benau
964757193b Avoid using IPv6 socket address in IPv4 socket
Also make reload the lan broadcast addresses each time to catch network change
2020-01-30 11:25:03 +08:00
Benau
86dae991e6 Fix SandboxViolation in iOS for IPv6 socket 2020-01-29 11:04:02 +08:00
Benau
0cb62803b2 Port stun address resolve to use SocketAddress 2020-01-29 01:24:38 +08:00
Benau
2c78625ef6 Allow print NAT64 address in IPv4 form for better debugging 2020-01-28 15:15:20 +08:00
Benau
40b0a6371e Allow port specified inside str for SocketAddress 2020-01-28 13:03:37 +08:00
Benau
61109f4aad Remove TransportAddress in most server code 2020-01-28 11:47:08 +08:00
Benau
05732c2e7d Only register server with a valid address 2020-01-28 01:26:12 +08:00
Benau
3d0ef44014 Fix android crash for inet_ntop 2020-01-27 15:48:49 +08:00
Benau
055ed23e10 Remove TransportAddress in STKPeer 2020-01-27 14:32:18 +08:00
Benau
e18bcd62e6 Add IPv6 LAN server discovery
Broadcasting to windows doesn't work as the windows firewall seems
to block all IPv6 multicast
2020-01-27 13:48:57 +08:00
Benau
9132fba714 Add firewall penetration for IPv6 client 2020-01-27 12:07:28 +08:00
Benau
6abd3bbf69 Add socket address to support both IPv4 and IPv6 2020-01-27 11:50:15 +08:00
David Carlier
a79a2a7fab mcpp dependency possible leak fix proposal 2020-01-26 18:52:14 +00:00
David Carlier
ba150e8659 bullet build warning fix replacing by C++ casting 2020-01-25 21:53:12 +00:00
Benau
9928cf726f Add auto handling of IPv6 only server depends on network type 2020-01-26 00:41:03 +08:00
Benau
d2f2c6cf1f Allow setting a zero address as long as there is an IPv6 address 2020-01-25 11:15:34 +08:00
Benau
6d2e060bf2 Disable IPv6 socket in server for IPv4 only network 2020-01-24 10:28:23 +08:00
Benau
58a2010d0f Fix intercept callback for IPv6 2020-01-24 10:26:44 +08:00
Benau
8d94f973cc Allow NAT64 client to connect to firewalled IPv4 server 2020-01-23 16:50:47 +08:00
Benau
63c7c711d5 Fix IPv4 only server in dual stack network 2020-01-23 16:43:46 +08:00
Benau
8486b11da6 Allow setting public address for IPv6 client 2020-01-23 01:16:02 +08:00
Benau
aed64dfd1f Rename function to make it clearer 2020-01-22 15:56:47 +08:00
Benau
2ca1c5555c Allow connect to IPv4 only server with NAT64 for all platforms 2020-01-20 16:49:27 +08:00
Benau
4172a2d765 Add iOS toolchain for cross compiling 2020-01-20 15:31:45 +08:00