MCPcopy Create free account
hub / github.com/defold/defold / if

Function if

engine/dlib/src/dlib/socket_posix.cpp:253–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 }
252#if !defined(DM_IPV6_UNSUPPORTED)
253 else if (IsSocketIPv6(socket))
254 {
255 struct in6_addr inaddr;
256 memcpy(&inaddr, IPv6(&address), sizeof(struct in6_addr));
257 result = setsockopt(socket, IPPROTO_IP, IP_MULTICAST_IF, (char *) &inaddr, sizeof(inaddr));
258 }
259#endif // no ipv6
260 else
261 {

Callers

nothing calls this directly

Calls 3

IPv6Function · 0.85
connectFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected