in server.go [249:258]
func (s *server) listen() error { switch s.endPointType { case TCP_SERVER, WS_SERVER, WSS_SERVER: return perrors.WithStack(s.listenTCP()) case UDP_ENDPOINT: return perrors.WithStack(s.listenUDP()) } return nil }