gaio icon indicating copy to clipboard operation
gaio copied to clipboard

does this support UDP also ?

Open spexocta opened this issue 4 years ago • 3 comments

Is this only for TCP or does it support UDP also ?

spexocta avatar Apr 02 '21 19:04 spexocta

Need udp too. Currently you can get conn by ListenUDP, but not way to get remote addr when receiving.

hulucc avatar May 11 '21 11:05 hulucc

you don't need gaio for UDP, since there is only ONE connection for UDP on server side. You don't need io multiplexing.

xtaci avatar May 11 '21 13:05 xtaci

you don't need gaio for UDP, since there is only ONE connection for UDP on server side. You don't need io multiplexing.

The default implement of go works not very well with reuse addr/port and sendmmsg/recvmmsg when over 100k pps. So it well be nice if gaio support udp.

hulucc avatar May 17 '21 06:05 hulucc