* Check whether we received/can send some data from/to the TURN server and * when that's the case handle it appropriately */
| 137 | * when that's the case handle it appropriately |
| 138 | */ |
| 139 | void ClientNetworkTurnSocketHandler::SendReceive() |
| 140 | { |
| 141 | if (this->sock == INVALID_SOCKET) return; |
| 142 | |
| 143 | if (this->CanSendReceive()) { |
| 144 | this->ReceivePackets(); |
| 145 | } |
| 146 | |
| 147 | this->SendPackets(); |
| 148 | } |
nothing calls this directly
no test coverage detected