public MusicServerT(Socket client, MusicServer s) { // Preenche os campos e seta a priopridade desta Thread this.client = client; this.servidor = s; this.tipocon = ""; }
static void Main(string[] args) { // TODO: Inserir endereço IP do servidor e IP como parâmetro MusicServer s = new MusicServer(); int pp; if(args.Length.Equals(0)) pp = 100; else pp = int.Parse(args[0]); s.IniciaServico(pp); // s.IniciaServico(100); }