MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / UDP

Method UDP

libapp2sys/src/main/cpp/udp.h:651–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected