| 433 | } |
| 434 | |
| 435 | int socket_stream::get_tcp_recvbuf() const { |
| 436 | ACL_SOCKET sock = sock_handle(); |
| 437 | if (sock == ACL_SOCKET_INVALID) { |
| 438 | logger_error("invalid socket handle"); |
| 439 | return -1; |
| 440 | } |
| 441 | |
| 442 | return acl_tcp_get_rcvbuf(sock); |
| 443 | } |
| 444 | |
| 445 | bool socket_stream::get_tcp_non_blocking() const { |
| 446 | ACL_SOCKET sock = sock_handle(); |
no test coverage detected