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 <[email protected]> wrote: > > On Sat, 16 Mar 2019 at 22:44, Santiago Gimeno <[email protected]> > 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 > <[email protected]> -- Iñaki Baz Castillo <[email protected]> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
