mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
store number of sentBytes returned from UDPSocket
This commit is contained in:
parent
a725db5bd7
commit
5ced381097
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void *sendBufferThread(void *args)
|
|||
|
||||
}
|
||||
|
||||
audioSocket->send(agents[a].address, agents[a].port, (void *) clientMix, BUFFER_LENGTH_BYTES);
|
||||
sentBytes = audioSocket->send(agents[a].address, agents[a].port, (void *) clientMix, BUFFER_LENGTH_BYTES);
|
||||
|
||||
if (sentBytes < BUFFER_LENGTH_BYTES) {
|
||||
std::cout << "Error sending mix packet! " << sentBytes << strerror(errno) << "\n";
|
||||
|
|
Loading…
Reference in a new issue