bool Dispatcher::sendAudioMsg(const IpAddress& to, const void *buf, int len) { Proxy *proxy = Proxy::instance(); if (proxy == 0) { return audio_sock->write(to, AUDIO_PORT, buf, len); } else { return proxy->udpData(to, buf, len); } } /* Dispatcher::sendCtrlMsg */