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

Method assign

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

Source from the content-addressed store, hash-verified

337int socket::native_handle() const { return mFd; }
338
339void socket::assign(int fd) {
340 close_fd();
341 mFd = fd;
342}
343
344void socket::close_fd() {
345 if (mFd != -1) {

Callers 1

acceptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected