rewrite udp server handler, change router and protocol

This commit is contained in:
2025-04-14 21:31:50 +08:00
parent 5fa4860bfb
commit ae34cf6436
5 changed files with 289 additions and 78 deletions

View File

@@ -64,7 +64,7 @@ namespace Common
return num;
}
public static Result<byte[]> MultiBitsToBytes(ulong bits1, uint bits1Len, ulong bits2, uint bits2Len)
{
@@ -99,7 +99,7 @@ namespace Common
}
public static Result<byte[]> StringToBytes(string str, int numBase = 16)
public static byte[] StringToBytes(string str, int numBase = 16)
{
var len = str.Length;
var bytesLen = len / 2;