- Added documentation for `sendMessage(Socket, byte[])`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-25 21:04:15 +02:00
parent 21422d37f9
commit a3d01f43cf
1 changed files with 7 additions and 4 deletions

View File

@ -76,11 +76,14 @@ public bool receiveMessage(Socket originator, ref byte[] receiveMessage)
}
/**
*
* Encodes the provided message into the bformat format
* and sends it over the provided socket
*
* Params:
* recipient =
* message =
* Returns:
* recipient = the socket to send over
* message = the message to encode and send
*
* Returns: true if the send succeeded, false otherwise
*/
public bool sendMessage(Socket recipient, byte[] message)
{