replace ListenTCP with Listen

This commit is contained in:
aler9
2020-12-13 15:13:43 +01:00
parent 42877b4d52
commit c11f056530
3 changed files with 7 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ import (
// Server is a RTSP server.
type Server struct {
conf ServerConf
listener *net.TCPListener
listener net.Listener
}
// Close closes the server.