This is probably unnecessary. UDP sockets are always writeable. On Apr 20, 2013, at 3:36 PM, Jan Danielsson <jan.m.daniels...@gmail.com> wrote:
> Hello, > > I'm doing this (roughly): > > --------------- > udp_sock = create_udo4_any_socket("7777"); > evutil_make_socket_nonblocking(udp_sock); > udp_event = event_new(base, udp_sock, EV_READ|EV_WRITE|EV_PERSIST, > proc_udp_packet, (void*)base); > event_add(udp_event, NULL); > --------------- > > But I want to disable, and later re-enable, EV_WRITE in the callback > function (well, in other functions as well, but I'm guessing the method > would be the same regardless). How is this done? > > -- > Kind regards, > Jan Danielsson > > *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.