MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwip_getpeername

Function lwip_getpeername

components/net/lwip/lwip-2.1.2/src/api/sockets.c:2768–2772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2766}
2767
2768int
2769lwip_getpeername(int s, struct sockaddr *name, socklen_t *namelen)
2770{
2771 return lwip_getaddrname(s, name, namelen, 0);
2772}
2773
2774int
2775lwip_getsockname(int s, struct sockaddr *name, socklen_t *namelen)

Callers 1

tcp_server_entryFunction · 0.50

Calls 1

lwip_getaddrnameFunction · 0.70

Tested by

no test coverage detected