i think the server's register process is done
This commit is contained in:
parent
c4524fb62e
commit
90a3be5754
6 changed files with 314 additions and 59 deletions
|
@ -12,7 +12,7 @@ public enum RequestType {
|
|||
public static class Request {
|
||||
public static byte[] CreateRequest(RequestType Type, ref byte counter, byte[] data) {
|
||||
if(data.Length > 13) {
|
||||
throw new Exception("extra data is too long");
|
||||
throw new Exception("extra data is too long: " + data.Length.ToString());
|
||||
}
|
||||
|
||||
byte[] msg = new byte[128];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue