rename udp.go to hub.go

pull/2034/head
v2ray 2016-08-15 21:33:21 +02:00
parent 667b71aad0
commit 2a778762b1
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 6 additions and 0 deletions

View File

@ -98,3 +98,9 @@ func (this *UDPHub) Running() bool {
return this.accepting
}
// Connection return the net.Conn underneath this hub.
// Private: Visible for testing only
func (this *UDPHub) Connection() net.Conn {
return this.conn
}