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

Method get_tcp_sendbuf

lib_acl_cpp/src/stream/socket_stream.cpp:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425int socket_stream::get_tcp_sendbuf() const {
426 ACL_SOCKET sock = sock_handle();
427 if (sock == ACL_SOCKET_INVALID) {
428 logger_error("invalid socket handle");
429 return -1;
430 }
431
432 return acl_tcp_get_sndbuf(sock);
433}
434
435int socket_stream::get_tcp_recvbuf() const {
436 ACL_SOCKET sock = sock_handle();

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 2

acl_tcp_get_sndbufFunction · 0.85
sock_handleFunction · 0.50

Tested by

no test coverage detected