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

Method SendRecv

adapter/micro_thread/mt_net.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52int32_t CNetHelper::SendRecv(void* data, uint32_t len, uint32_t timeout)
53{
54 if (handler != NULL) {
55 CNetHandler* net_handler = (CNetHandler*)handler;
56 return net_handler->SendRecv(data, len, timeout);
57 } else {
58 return RC_INVALID_HANDLER;
59 }
60}
61
62void* CNetHelper::GetRspBuff()
63{

Callers

nothing calls this directly

Calls 8

CheckParamsMethod · 0.95
GetConnLinkMethod · 0.95
WaitConnectMethod · 0.95
WaitSendMethod · 0.95
WaitRecvMethod · 0.95
UnlinkMethod · 0.95
UnRegistSessionMethod · 0.95
GetLastClockMethod · 0.80

Tested by

no test coverage detected