add ability to handle V2 and V3 clients on the same port

This commit is contained in:
Martin Michelsen
2022-08-25 22:24:44 -07:00
parent b612d50c17
commit 5ede882715
16 changed files with 401 additions and 187 deletions
+6 -6
View File
@@ -2,9 +2,9 @@ I 26579 2022-07-01 10:22:10 - [IPStackSimulator] Client fd 29 connected via fd 2
I 26579 2022-07-01 10:22:13 - [IPStackSimulator] Client opened TCP connection 29+23232323238C05D8 (10.0.1.5:1496 -> 35.35.35.35:9100)
I 26579 2022-07-01 10:22:13 - [Server] Client connected: C-5B on virtual connection 0x1473042b0 via T-9100-PC-split_reconnect-VI
I 26579 2022-07-01 10:22:13 - [Commands] Sending to C-5B (version=PC command=0019 flag=00000000)
0000000000000000 | B0 00 19 00?23 23 23 23?54 24 00 00 00 00 00 00 | ####T$
0000000000000010 | 00 00 00 00 00 00 00 00 00 19 00 97 00?23 23 23?| ###
0000000000000020 |?23?28 23 00 00 00 00 00 00 00 00 00 00 00 00 00 | #(#
0000000000000000 | B0 00 19 00 23 23 23 23 ED 13 00 00 00 00 00 00 | ####T$
0000000000000010 | 00 00 00 00 00 00 00 00 00 19 00 97 00 23 23 23 | ###
0000000000000020 | 23 EC 13 00 00 00 00 00 00 00 00 00 00 00 00 00 | #(#
0000000000000030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
@@ -17,7 +17,7 @@ I 26579 2022-07-01 10:22:13 - [IPStackSimulator] Connected TCP connection 29+232
I 26579 2022-07-01 10:22:13 - [IPStackSimulator] Client closed TCP connection 29+23232323238C05D8 (10.0.1.5:1496 -> 35.35.35.35:9100)
I 26579 2022-07-01 10:22:13 - [Server] Client disconnected: C-5B on virtual connection 0x1473042b0
I 26579 2022-07-01 10:22:13 - [IPStackSimulator] Client opened TCP connection 29+23232323232805D9 (10.0.1.5:1497 -> 35.35.35.35:9000)
I 26579 2022-07-01 10:22:13 - [Server] Client connected: C-5C on virtual connection 0x147204560 via T-9000-GC-login_server-VI
I 26579 2022-07-01 10:22:13 - [Server] Client connected: C-5C on virtual connection 0x147204560 via T-5100-GC-login_server-VI
I 26579 2022-07-01 10:22:13 - [Commands] Sending to C-5C (version=GC command=0017 flag=00000000)
0000000000000000 | 17 00 0C 01 44 72 65 61 6D 43 61 73 74 20 50 6F | DreamCast Po
0000000000000010 | 72 74 20 4D 61 70 2E 20 43 6F 70 79 72 69 67 68 | rt Map. Copyrigh
@@ -125,13 +125,13 @@ I 26579 2022-07-01 10:22:15 - [Commands] Sending to C-5C (version=GC command=00B
0000000000000000 | B1 00 1C 00 32 30 32 32 3A 30 37 3A 30 31 3A 20 | 2022:07:01:
0000000000000010 | 31 37 3A 32 32 3A 31 35 2E 30 30 30 | 17:22:15.000
I 26579 2022-07-01 10:22:15 - [Commands] Sending to C-5C (version=GC command=0019 flag=00000000)
0000000000000000 | 19 00 0C 00 23 23 23 23 CD 24 00 00 | #### $
0000000000000000 | 19 00 0C 00 23 23 23 23 F6 13 00 00 | #### $
I 26579 2022-07-01 10:22:17 - [IPStackSimulator] Client closed TCP connection 29+23232323232805D9 (10.0.1.5:1497 -> 35.35.35.35:9000)
I 26579 2022-07-01 10:22:17 - [Commands] Received from C-5C (version=GC command=0099 flag=00000000)
0000000000000000 | 99 00 04 00 |
I 26579 2022-07-01 10:22:17 - [Server] Client disconnected: C-5C on virtual connection 0x147204560
I 26579 2022-07-01 10:22:17 - [IPStackSimulator] Client opened TCP connection 29+2323232324CD05DA (10.0.1.5:1498 -> 35.35.35.35:9421)
I 26579 2022-07-01 10:22:17 - [Server] Client connected: C-5D on virtual connection 0x1472045f0 via T-9421-GC-lobby_server-VI
I 26579 2022-07-01 10:22:17 - [Server] Client connected: C-5D on virtual connection 0x1472045f0 via T-5110-GC-lobby_server-VI
I 26579 2022-07-01 10:22:17 - [Commands] Sending to C-5D (version=GC command=0002 flag=00000000)
0000000000000000 | 02 00 0C 01 44 72 65 61 6D 43 61 73 74 20 4C 6F | DreamCast Lo
0000000000000010 | 62 62 79 20 53 65 72 76 65 72 2E 20 43 6F 70 79 | bby Server. Copy