package server import ( "go.alanpearce.eu/website/internal/listenfd" ) func (s *Server) serveTCP() error { l, err := listenfd.GetListener(0, s.Addr) if err != nil { return err } return s.Serve(l) }