| 423 | } |
| 424 | |
| 425 | int 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 | |
| 435 | int socket_stream::get_tcp_recvbuf() const { |
| 436 | ACL_SOCKET sock = sock_handle(); |
no test coverage detected