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

Function plat_socket

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

Source from the content-addressed store, hash-verified

32// On POSIX: delegates to :: system calls from socket_posix.h
33
34int plat_socket(int domain, int type, int protocol) {
35#ifdef FL_IS_WIN
36 return fl::socket(domain, type, protocol);
37#else
38 return ::socket(domain, type, protocol);
39#endif
40}
41
42int plat_connect(int fd, const struct sockaddr *addr, socklen_t addrlen) {
43#ifdef FL_IS_WIN

Callers 2

connectMethod · 0.85
openMethod · 0.85

Calls 1

socketClass · 0.70

Tested by

no test coverage detected