func (s *Server) ServeConn(conn net.Conn) {
	defer conn.Close()
	err := s.serveConn(conn)
	if err != nil && s.Logger != nil && !isClosedConnError(err) {
		s.Logger.Println(err)
	}
}
// ServeConn is used to serve a single connection.
ServeConn is used to serve a single connection.
// ServeConn is used to serve a single connection .
func (s *Server) ServeConn(conn net.Conn) {
	defer conn.Close()
	err := s.serveConn(conn)
	if err != nil && s.Logger != nil && !isClosedConnError(err) {
		s.Logger.Println(err)
	}
}
func ( s * Server ) ServeConn ( conn net . Conn ) { defer conn . Close ( ) err := s . serveConn ( conn ) if err != nil && s . Logger != nil && ! isClosedConnError ( err ) { s . Logger . Println ( err ) } }
ServeConn is used to serve a single connection.
ServeConn is used to serve a single connection .