public Cliente() { this.socketClient = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); this.funcoes = new Itens_Compartilhados.Funcoes(); this.ipArray = new String[256]; this.ID = -1; }
public Servidor(string IP, int port) /*Construtor para inicialização do IP e da Porta*/ { ativo = true; this.Ip = IP; this._PORT = port; funcoes = new Itens_Compartilhados.Funcoes(); }
public TelaConexao() { InitializeComponent(); local = false; funcoes = new Itens_Compartilhados.Funcoes(); rb_Iniciar.Checked = true; l_fixo.Text = funcoes.retornaIP(); }
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(); }
public CargaJogadores(Socket socket, int id) { InitializeComponent(); funcoes = new Itens_Compartilhados.Funcoes(); this.ID = id; this.socket = socket; b_jogar.Enabled = false; iniciaLista(); }