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
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
9928cf726f
Add auto handling of IPv6 only server depends on network type
2020-01-26 00:41:03 +08:00
Benau
726a40ae2d
Use IP detect code in server screen for more info to user
2020-01-19 10:20:25 +08:00
Benau
4cb3383c4a
Remove the unneeded manage memory option in request
2019-12-01 01:19:51 +08:00
Benau
13975cc5db
Use std::shared_ptr for Request to avoid leaking
2019-11-30 16:01:31 +08:00
riso
0e4f875443
Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6
2019-09-03 14:24:03 -05:00
Benau
a56343b7e3
Clean up headers
...
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau
6f8d0892a2
Fix sign of time with mono clock
2019-05-06 16:41:29 +08:00
Benau
ebf95ee958
Use monotonic clock to avoid system time changes
2019-05-06 15:17:19 +08:00
Benau
4e830d7df7
Reset server manager when entering the selection screen
...
So any previous servers (lan / wan) are fully cleared
2019-01-26 16:16:11 +08:00
Benau
16d7f7e398
Fix possible getifaddrs crash
2019-01-14 02:26:30 +08:00
Benau
4b22465836
Add current playing info to lobby
2019-01-04 17:40:25 +08:00
Benau
dd15947aa1
Use ServerConfig for setup server
2018-09-11 14:06:30 +08:00
Benau
83d49389d6
Use new syntax for server xml
2018-09-04 07:37:21 +08:00
Benau
8fc2bdcc3f
Show game started info in server screen with icon
2018-08-28 14:43:48 +08:00
Benau
0f39add432
Convert time-related code in network to 64bit to avoid overflow
2018-08-27 13:49:11 +08:00
Benau
9d78173ec6
Use 32bit for server version
2018-08-03 14:01:36 +08:00
Benau
db8a92a2d6
Fix getifaddrs leaking
2018-07-11 13:49:01 +08:00
Deve
68d43734cd
Fixed compilation with older compilers
2018-07-09 21:40:52 +02:00
Benau
4a4c99baf2
Send to all broadcast addresses for connecting to wan server in lan
2018-05-11 11:13:42 +08:00
Deve
b770fa19fb
Auto refresh for lan server detection
2018-04-25 20:26:23 +02:00
hiker
59b796a7f5
Since broadcasting to 255.255.255.255 does not work in all cases,
...
add code to create a set of potential broadcast addresses and
use them all. Duplicated will be filtered out (since likely a server
will replace more than all).
2018-04-23 23:30:48 +10:00
Benau
12e4ba0f18
Check server version again in connection request (for connect-now)
2018-04-20 12:19:58 +08:00
Benau
78ac3a922d
Fix compiler warnings
2018-03-16 19:06:20 +08:00
Benau
c73536263f
Add password protected and version info to server
2018-03-13 14:39:20 +08:00
Benau
269c9318e5
Send a broadcast in case of lan connection for wan server
2018-03-07 00:51:59 +08:00
Benau
2b56a97b08
Clean up Server, ServersManager and quick play
...
For now we choose the server with the least player for quick play
2018-03-05 01:54:44 +08:00
Benau
efa294d4f4
Clean up lan and wan server code
2018-03-02 15:21:27 +08:00
Benau
1023e6580e
Unregister STK server when exiting
2018-02-23 14:01:20 +08:00
leper
47dc4bdbaa
Remove enet modifications. Fixes #21 .
2018-01-30 22:06:07 +01:00
hiker
6a578e374f
Fix LAN handling when connecting via a WAN server.
2016-10-25 07:53:52 +11:00
David CARLIER
a99d02f366
couple of resource leaks fixes ( #2526 )
2016-06-27 19:47:56 -04:00
auria.mg
894a38f6c7
Fix empty popup when no lan server detected
2016-03-31 20:40:42 -04:00
hiker
f2c26f06f1
Another refactoring of NetworkString, this time added support for sequential
...
reads, so that you don't need to specify the offset anymore (and no more
removeFromFront).
2016-03-13 13:49:43 +11:00
Marianne Gagnon
d0499be4b9
Update protocol to include server difficulty and mode
2016-03-10 19:25:55 -05:00
hiker
9c71dc78d1
Merge remote-tracking branch 'origin/master' into refactor-network-string
2016-03-06 16:42:16 +11:00
hiker
1655a4889d
Use BareNetworkString.
2016-02-25 09:48:47 +11:00
hiker
2e8ddb1c50
Added a new base class 'BareNetworkString' for NetworkString,
...
used it for some of the messages exchanged before the ProtocolManager
is started (i.e. establishment of initia connection).
2016-02-24 20:32:11 +11:00
Tobias Markus
d8cce95b0e
Add forgotten override's where necessary
2016-02-21 01:36:15 +01:00
hiker
bcfec98fa2
Removed all references to OnlineProfile, which makes LAN and WAN
...
server behave idential (and it also fixed potential memory leaks).
2015-12-01 07:57:42 +11:00
hiker
18e5cd8d53
Enable refresh of server list after exiting a connection again. Also
...
removed deleting the joined server.
2015-11-28 12:45:03 +11:00
hiker
0076a041c9
Used new decode/encodeString functions in other places, made getString private.
2015-11-27 08:55:21 +11:00
hiker
f81bd5d0c5
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:47:02 +11:00
hiker
af9018ea64
Moved Server and ServersManager into network directory.
2015-11-12 17:52:04 +11:00