include: fix confusing uv_tcp_keepalive comment

This commit is contained in:
Ben Noordhuis 2012-10-05 15:05:30 +02:00
parent 976c8a4387
commit 7aa1261769

View File

@ -608,12 +608,14 @@ UV_EXTERN int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock);
/* Enable/disable Nagle's algorithm. */
UV_EXTERN int uv_tcp_nodelay(uv_tcp_t* handle, int enable);
/* Enable/disable TCP keep-alive.
/*
* Enable/disable TCP keep-alive.
*
* `ms` is the initial delay in seconds, ignored when `enable` is zero.
* `delay` is the initial delay in seconds, ignored when `enable` is zero.
*/
UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle, int enable,
unsigned int delay);
UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle,
int enable,
unsigned int delay);
/*
* This setting applies to Windows only.