add broadcasting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user