MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / MillisToTimeval

Function MillisToTimeval

src/netbase.cpp:178–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178struct timeval MillisToTimeval(int64_t nTimeout)
179{
180 struct timeval timeout;
181 timeout.tv_sec = nTimeout / 1000;
182 timeout.tv_usec = (nTimeout % 1000) * 1000;
183 return timeout;
184}
185
186/** SOCKS version */
187enum SOCKSVersion: uint8_t {

Callers 3

disconnected_cbMethod · 0.85
InterruptibleRecvFunction · 0.85
ConnectSocketDirectlyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected