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

Function shutdown

src/platforms/win/socket_win.cpp.hpp:217–221  ·  view source on GitHub ↗

Connection Teardown

Source from the content-addressed store, hash-verified

215
216// Connection Teardown
217int shutdown(int sockfd, int how) FL_NOEXCEPT {
218 SOCKET sock = static_cast<SOCKET>(sockfd);
219 int result = ::shutdown(sock, how);
220 return (result == SOCKET_ERROR) ? -1 : 0;
221}
222
223int close(int fd) FL_NOEXCEPT {
224 SOCKET sock = static_cast<SOCKET>(fd);

Callers 1

plat_shutdownFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected