private void Listen_Click(object sender, EventArgs e) { packetpuller = new Packets(Convert.ToInt16(theport.Text)); lblApplicationMessage.Text = "Listining to port:" + theport.Text; timer1.Start(); }
private void Conect_Click(object sender, EventArgs e) { packetpusher = new Packets(thisip.Text, Convert.ToInt16(thisport.Text)); packetpusher.push(packer.Connect("bleh")); }