import "v2ray.com/core/testing/servers/udp"
PickPort returns an unused UDP port in the system. The port returned is highly likely to be unused, but not guaranteed.
type Server struct { Port net.Port MsgProcessor func(msg []byte) []byte // contains filtered or unexported fields }
func (server *Server) Start() (net.Destination, error)
Package udp imports 3 packages (graph). Updated 2019-01-06. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).