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

Method SetDestAddr

adapter/micro_thread/mt_connection.h:192–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 bool IdleDetach();
191
192 void SetDestAddr(struct sockaddr_in* dst) {
193 memcpy(&_dst_addr, dst, sizeof(_dst_addr));
194 }
195
196 struct sockaddr_in* GetDestAddr() {
197 return &_dst_addr;

Callers 1

GetTcpKeepConnMethod · 0.80

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected