libev icon indicating copy to clipboard operation
libev copied to clipboard

udp fd write event

Open zuobeixing opened this issue 6 years ago • 2 comments

Hi,I have a doubt,Usually the udp connection is always writable,but If I add the udp connection write event to epoll via ev_io_start, then when can trigger a writable event ?

zuobeixing avatar May 21 '19 11:05 zuobeixing

I think, that writable event will triggered, when you write somethings to udp connection fd.

dr-begemot avatar May 21 '19 12:05 dr-begemot

Why not write a test code to find out what will happen.

liuye0331 avatar May 22 '19 04:05 liuye0331