private void Tela_Load(object sender, EventArgs e)
 {
     funcoes = new Itens_Compartilhados.Funcoes();
     carregaCartas();
     inicia_Informacoes();
     Super_Trunfo_Servidor.Execucao server = new Super_Trunfo_Servidor.Execucao();
     threadServidor             = new Thread(() => server.executar());
     toolStripStatusLabel3.Text = "IP: " + funcoes.retornaIP();
 }
예제 #2
0
 static void Main(string[] args)
 {
     try
     {
         Super_Trunfo_Servidor.Execucao server = new Super_Trunfo_Servidor.Execucao();
         server.executar();
     }
     catch (SocketException e)
     {
         Console.WriteLine(e);
     }
 }