| 439 | } |
| 440 | |
| 441 | int connKeepAlive(connection *conn, int interval) { |
| 442 | if (conn->fd == -1) return C_ERR; |
| 443 | return anetKeepAlive(NULL, conn->fd, interval); |
| 444 | } |
| 445 | |
| 446 | int connSendTimeout(connection *conn, long long ms) { |
| 447 | return anetSendTimeout(NULL, conn->fd, ms); |
no test coverage detected