mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:43:19 +02:00
Client
- Added TODO to `sendMessage(Message)`
This commit is contained in:
parent
98e5866044
commit
9dc4a870dd
@ -959,6 +959,12 @@ public class Client : Thread
|
|||||||
/* Encode the message */
|
/* Encode the message */
|
||||||
ubyte[] encodedMessage = encodeMessage(message.encode());
|
ubyte[] encodedMessage = encodeMessage(message.encode());
|
||||||
|
|
||||||
|
// TODO: Decide on the chunks required
|
||||||
|
ulong chunksRequired = encodedMessage.length/512;
|
||||||
|
// FIXME: I mean should this maybe be something that channelMessage
|
||||||
|
// ... does as I don't feel nor think we can issue several messages in general
|
||||||
|
|
||||||
|
|
||||||
/* If the message is 512 bytes or less then send */
|
/* If the message is 512 bytes or less then send */
|
||||||
if(encodedMessage.length <= 512)
|
if(encodedMessage.length <= 512)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user