add broadcasting

This commit is contained in:
2026-07-19 23:01:36 -05:00
parent 799521f51f
commit a400b233a2
4 changed files with 43 additions and 17 deletions

View File

@@ -42,7 +42,8 @@ ssize_t TcpBase::tcpRead(int fd, void* buffer, size_t maxBytes) {
}
return bytesReceived;
}
} // TODO: tcp read should accept a header struct as an argument and write the header data into the struct
// can be as simple as a union with a char[8] if you want;
ssize_t TcpBase::tcpTimedRead(int fd, void* buffer, size_t maxBytes, int timeoutPlaceholder) {
return 0;