mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Upgraded to new tristanable
This commit is contained in:
parent
b5f6cec7b2
commit
ed350c5c71
2
dub.json
2
dub.json
@ -4,7 +4,7 @@
|
||||
],
|
||||
"copyright": "Copyright © 2020, Tristan B. Kildaire",
|
||||
"dependencies": {
|
||||
"bformat": "~>3.1.0",
|
||||
"bformat": "3.1.0",
|
||||
"gogga": "0.0.2",
|
||||
"tristanable": "2.2.0"
|
||||
},
|
||||
|
@ -3,6 +3,6 @@
|
||||
"versions": {
|
||||
"bformat": "3.1.0",
|
||||
"gogga": "0.0.2",
|
||||
"tristanable": "0.0.33"
|
||||
"tristanable": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
@ -136,7 +136,10 @@ public final class DLink : Thread
|
||||
byte[] data;
|
||||
data ~= [1];
|
||||
|
||||
/* TODO: Encode [nameLen, name] */
|
||||
/* TODO: Encode [serverNameLen, serverName] */
|
||||
string serverName;
|
||||
data ~= [cast(byte)serverName.length];
|
||||
data ~= serverName;
|
||||
|
||||
/* Encode and send LINK command */
|
||||
DataMessage message = new DataMessage(0, data);
|
||||
|
Loading…
Reference in New Issue
Block a user