MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / udp_bind_safe

Function udp_bind_safe

modules/network/socket/lwip/modLwipSafe.c:209–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209err_t udp_bind_safe(struct udp_pcb *udpPCB, const ip_addr_t *ipaddr, u16_t port)
210{
211 LwipMsgRecord msg = {
212 .udpPCB = udpPCB,
213 .addr = *ipaddr,
214 .port = port
215 };
216 tcpip_api_call(udp_bind_INLWIP, &msg.call);
217 return msg.err;
218}
219
220static err_t udp_remove_INLWIP(struct tcpip_api_call_data *tcpMsg)
221{

Callers 2

modSocket.cFile · 0.85
xs_udp_constructorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected