| 649 | virtual ~UDP(){} |
| 650 | |
| 651 | UDP() { |
| 652 | m_fd = 0; |
| 653 | m_fdCloseRequested = 0; |
| 654 | m_timeoutms = 0; |
| 655 | m_pipefd[0] = 0; |
| 656 | m_pipefd[1] = 0; |
| 657 | m_mutexSendQueue = PTHREAD_MUTEX_INITIALIZER; |
| 658 | } |
| 659 | |
| 660 | int createSocket(const char *ip, int port, int timeoutms) { |
| 661 | if (m_fd > 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected