SockStream

- Added a TODO for `writeFully(byte[])`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-30 14:13:32 +02:00
parent 432fbb5406
commit 9c4dd4cc51
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ public class SockStream : Stream
// ... decide what to do in such a case
ptrdiff_t status = socket.send(fromArray, cast(SocketFlags)MSG_WAITALL);
// TODO: See is waitall even works, maybe it doesn't, we shall have to see,
// ... else use write calls and do what we do in readFully for fdstream for inspiration
// On an error
if(status < 0)