| 443 | } |
| 444 | |
| 445 | bool socket_stream::get_tcp_non_blocking() const { |
| 446 | ACL_SOCKET sock = sock_handle(); |
| 447 | if (sock == ACL_SOCKET_INVALID) { |
| 448 | logger_error("invalid socket handle"); |
| 449 | return false; |
| 450 | } |
| 451 | |
| 452 | return acl_is_blocking(sock) == 0; |
| 453 | } |
| 454 | |
| 455 | bool socket_stream::set_zerocopy(bool yes) { |
| 456 | #ifdef MSG_ZEROCOPY |
nothing calls this directly
no test coverage detected