Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
337
int socket::native_handle() const { return mFd; }
338
339
void socket::assign(int fd) {
340
close_fd();
341
mFd = fd;
342
}
343
344
void socket::close_fd() {
345
if (mFd != -1) {
Callers
1
accept
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected