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

Serve from a specific net.PacketConn #43

Open
ilyaglow opened this issue Apr 23, 2019 · 4 comments
Open

Serve from a specific net.PacketConn #43

ilyaglow opened this issue Apr 23, 2019 · 4 comments

Comments

@ilyaglow
Copy link

Hey there,

What do you think about adding a function that can serve events from a specified net.PacketConn or do you have a will to accept a PR with this feature?

@ilyaglow
Copy link
Author

@ghost
Copy link

ghost commented Sep 10, 2019

@ilyaglow
Copy link
Author

The thing is that I need to use my net.PacketConn in multiple places and not stick it for evio only. I have an app that sends a lot of packets through UDP socket and evio simply process replies.

@ghost
Copy link

ghost commented Sep 10, 2019

hm, looks like there should be no issue with this. i use the same approach for http/grpc servers where i handle tls on the listener and not in the server, for example. but in this case the serve() method is private so you have to fork it :(

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

1 participant