xtaci / gaio

High performance async-io(proactor) networking for Golang。golangのための高性能非同期io(proactor)ネットワーキング

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does this support UDP also ?

spexocta opened this issue · comments

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

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

commented

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

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.