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

Method CSockLink

adapter/micro_thread/mt_net.cpp:777–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777CSockLink::CSockLink()
778{
779 rw_cache_init(&_recv_cache, NULL);
780 _rsp_buff = NULL;
781
782 TAILQ_INIT(&_wait_connect);
783 TAILQ_INIT(&_wait_send);
784 TAILQ_INIT(&_wait_recv);
785 TAILQ_INIT(&_idle_list);
786
787 _proto_type = NET_PROTO_TCP;
788 _errno = 0;
789 _state = 0;
790 _last_access = mt_time_ms();
791 _parents = NULL;
792}
793
794CSockLink::~CSockLink()
795{

Callers

nothing calls this directly

Calls 2

rw_cache_initFunction · 0.85
mt_time_msFunction · 0.85

Tested by

no test coverage detected