MCPcopy Create free account
hub / github.com/acl-dev/acl / get_tcp_solinger

Method get_tcp_solinger

lib_acl_cpp/src/stream/socket_stream.cpp:415–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415int socket_stream::get_tcp_solinger() const {
416 ACL_SOCKET sock = sock_handle();
417 if (sock == ACL_SOCKET_INVALID) {
418 logger_error("invalid socket handle");
419 return -1;
420 }
421
422 return acl_get_tcp_solinger(sock);
423}
424
425int socket_stream::get_tcp_sendbuf() const {
426 ACL_SOCKET sock = sock_handle();

Callers

nothing calls this directly

Calls 2

acl_get_tcp_solingerFunction · 0.85
sock_handleFunction · 0.50

Tested by

no test coverage detected