MCPcopy Create free account
hub / github.com/FastLED/FastLED / plat_bind

Function plat_bind

src/fl/stl/asio/ip/tcp.cpp.hpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91int plat_bind(int fd, const struct sockaddr *addr, socklen_t addrlen) {
92#ifdef FL_IS_WIN
93 return fl::bind(fd, addr, addrlen);
94#else
95 return ::bind(fd, addr, addrlen);
96#endif
97}
98
99int plat_listen(int fd, int backlog) {
100#ifdef FL_IS_WIN

Callers 1

openMethod · 0.85

Calls 1

bindFunction · 0.50

Tested by

no test coverage detected