Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does this support UDP also ? #14

Open
spexocta opened this issue Apr 2, 2021 · 3 comments
Open

does this support UDP also ? #14

spexocta opened this issue Apr 2, 2021 · 3 comments

Comments

@spexocta
Copy link

spexocta commented Apr 2, 2021

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

@hulucc
Copy link

hulucc commented May 11, 2021

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

@xtaci
Copy link
Owner

xtaci commented May 11, 2021

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

@hulucc
Copy link

hulucc commented May 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants