From 76eb7518c65af7b1fd95e6e295dc909e7f1bc442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 23 Apr 2014 19:27:33 +0200 Subject: [PATCH] doc: clarify what the addr argument of uv_udp_recv_cb contains --- include/uv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uv.h b/include/uv.h index 0b0e02ea..92cce2a1 100644 --- a/include/uv.h +++ b/include/uv.h @@ -874,8 +874,8 @@ typedef void (*uv_udp_send_cb)(uv_udp_send_t* req, int status); * discard or repurpose the read buffer. * < 0 if a transmission error was detected. * buf uv_buf_t with the received data. - * addr struct sockaddr_in or struct sockaddr_in6. - * Valid for the duration of the callback only. + * addr struct sockaddr* containing the address of the sender. + * Can be NULL. Valid for the duration of the callback only. * flags One or more OR'ed UV_UDP_* constants. * Right now only UV_UDP_PARTIAL is used. */