this is not correct... here you're saying the void returned is const... not that the method is const

you want....

void injectAudio(UDPSocket* injectorSocket, sockaddr* destinationSocket) const;