mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
add some logs
This commit is contained in:
@@ -23,6 +23,8 @@ func (server *Server) Start() (net.Destination, error) {
|
||||
return net.Destination{}, err
|
||||
}
|
||||
server.Port = net.Port(conn.LocalAddr().(*net.UDPAddr).Port)
|
||||
fmt.Println("UDP server started on port ", server.Port)
|
||||
|
||||
server.conn = conn
|
||||
go server.handleConnection(conn)
|
||||
localAddr := conn.LocalAddr().(*net.UDPAddr)
|
||||
|
||||
Reference in New Issue
Block a user