Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/albertobsd/keyhunt
/ sendstr
Function
sendstr
bsgsd.cpp:2461–2468 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2459
}
2460
2461
int sendstr(int client_fd,const char *str) {
2462
int len = strlen(str);
2463
int bytes = send(client_fd, str, len, 0);
2464
if (bytes == -1) {
2465
printf(
"Failed to send message to client\n"
);
2466
}
2467
return bytes;
2468
}
Callers
1
client_handler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected