MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / sock_get_flags

Function sock_get_flags

server/src/server/http_server.cpp:54–54  ·  view source on GitHub ↗

Replace fcntl(F_GETFL) / fcntl(F_SETFL, O_NONBLOCK) with ioctlsocket

Source from the content-addressed store, hash-verified

52#define MSG_DONTWAIT 0
53#define SHUT_RDWR SD_BOTH
54#define socklen_t int
55#define poll(fds,nfds,timeout) WSAPoll(fds,nfds,timeout)
56// Replace fcntl(F_GETFL) / fcntl(F_SETFL, O_NONBLOCK) with ioctlsocket
57static inline int sock_get_flags(SocketHandle fd) { (void)fd; return 0; /* stub */ }

Callers 3

runMethod · 0.85
route_requestMethod · 0.85
worker_loopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected