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

Please implement an API like func (srv *Server) Serve(c net.PacketConn) error #7

Open
jannson opened this issue Jul 26, 2017 · 0 comments

Comments

@jannson
Copy link

jannson commented Jul 26, 2017

Please add an new api in server.go
The code like below:

func (srv *Server) Serve(c net.PacketConn) error {
	srv.addConn(c)
	defer srv.removeConn(c)
	return srv.agent.ServePacket(c)
}

I want to add another net.PacketConn implement not using net.ListenPacket, and I cann't find any api to support.

Thanks for you great project!

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