mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
have mixer use sockaddr when calling UDPSocket receive
This commit is contained in:
parent
41691a8aae
commit
c28ace9c15
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ int main(int argc, const char * argv[])
|
|||
pthread_create(&sendBufferThread, NULL, sendBuffer, NULL);
|
||||
|
||||
while (true) {
|
||||
if(audioSocket.receive(&agentAddress, packetData, &receivedBytes)) {
|
||||
if(audioSocket.receive((sockaddr *)&agentAddress, packetData, &receivedBytes)) {
|
||||
if (receivedBytes == BUFFER_LENGTH_BYTES) {
|
||||
if (addAgent(&agentAddress, packetData)) {
|
||||
std::cout << "Added agent: " <<
|
||||
|
|
Loading…
Reference in a new issue