Oh, one more question please: Once a UDP socket is connected, is the sockaddr* addr in uv_udp_recv_cb always point to the same address?
On Sat, 16 Mar 2019 at 22:50, Iñaki Baz Castillo <i...@aliax.net> wrote: > > On Sat, 16 Mar 2019 at 22:44, Santiago Gimeno <santiago.gim...@gmail.com> > wrote: > > > > Hi, > > > > 1) I would say so. From the connect man page. > > > > If the socket sockfd is of type SOCK_DGRAM, then addr is the address to > > which datagrams are sent by default, and the only address from which > > datagrams are received. > > Oh, cool. > > > > 2) See: https://github.com/libuv/libuv/pull/1274#issuecomment-289270649 > > Super interesting. Thanks! > > -- > Iñaki Baz Castillo > <i...@aliax.net> -- Iñaki Baz Castillo <i...@aliax.net> -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to libuv+unsubscr...@googlegroups.com. To post to this group, send email to libuv@googlegroups.com. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.