Home
last modified time | relevance | path

Searched refs:tcpListenPort (Results 1 – 2 of 2) sorted by relevance

/developtools/hdc/src/daemon/
Ddaemon_tcp.cpp33 tcpListenPort = atoi(strTCPPort.c_str()); in HdcDaemonTCP()
34 if (tcpListenPort <= 0) { in HdcDaemonTCP()
36 tcpListenPort = 0; in HdcDaemonTCP()
48 WRITE_LOG(LOG_DEBUG, "Stop tcpListenPort:%u", tcpListenPort); in Stop()
59 string sendBuf = Base::StringFormat("%s-%d", HANDSHAKE_MESSAGE.c_str(), tcpListenPort); in TransmitConfig()
128 uv_ip4_addr("0.0.0.0", tcpListenPort, &addr); // tcpListenPort == 0 in SetTCPListen()
139 tcpListenPort = ntohs(addr.sin_port); in SetTCPListen()
140 SystemDepend::SetDevItem("persist.hdc.port", std::to_string(tcpListenPort).c_str()); in SetTCPListen()
153 WRITE_LOG(LOG_INFO, "TCP listen on port:[%d]", tcpListenPort); in Initial()
Ddaemon_tcp.h29 uint16_t tcpListenPort; variable