MCPcopy Create free account
hub / github.com/F-Stack/f-stack / SkipSendPos

Method SkipSendPos

adapter/micro_thread/mt_net.cpp:462–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462uint32_t CNetHandler::SkipSendPos(uint32_t len)
463{
464 uint32_t skip_len = (len >= _req_len) ? _req_len : len;
465 _req_len -= skip_len;
466 _send_pos += skip_len;
467 _req_data = (char*)_req_data + skip_len;
468
469 return skip_len;
470}
471
472void CNetHandler::Link(CSockLink* conn)
473{

Callers 2

WaitSendMethod · 0.95
SendCacheTcpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected