| 413 | } |
| 414 | |
| 415 | int 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 | |
| 425 | int socket_stream::get_tcp_sendbuf() const { |
| 426 | ACL_SOCKET sock = sock_handle(); |
nothing calls this directly
no test coverage detected