Hi,
I am a bit confused how this section of the code "client/socket.c" gets
patched to compenstate for vdr-1.3.18. For example, here is a snip of the
code of socket.c:
---SNIP---
st = time_ms();
if (!TimedWrite((const char*)pkt, pkt.Length(), TimeoutMs)) {
esyslog("Streamdev: Lost connection to %s:%d: %s",
(const char*)RemoteIp(), RemotePort(),
strerror(errno)); Close();
return false;
}
if (Expected != 0) {
TimeoutMs -= time_ms() - st;
return Expect(Expected, NULL, TimeoutMs);
}
---SNIP---
assuming we change the first line (st = time_ms();) to this:
cTimeMs st;
st.Set();
What would the next changed line translate to?
TimeoutMs -= time_ms() - st;
I am confused about how to fix this line because it appears to be a
combination of cTimeMs and integer values.