private void button8_Click(object sender, EventArgs e)
      {
          messageSpecs.FileMessage x = new messageSpecs.FileMessage();
          x.FileName = "C:\\Users\\cody\\Documents\\Hw1.txt";
          
          clientSocket.Send(x.getMessageString());
 
      }
        private void button3_Click(object sender, EventArgs e)
        {
            OpenFileDialog of = new OpenFileDialog();

            if (of.ShowDialog() == DialogResult.OK)
            {
                messageSpecs.FileMessage file = new messageSpecs.FileMessage();
                of.Filter = "Text Files (*.txt;*.doc;*.docx)|*.TXT;*.DOC;*.DOCX";
                file.FileName = of.FileName;
                file.Extension = of.FileName.Substring(of.FileName.LastIndexOf('.'), of.FileName.Length - of.FileName.LastIndexOf('.'));
                file.receiver = friendUID.ToString();
                file.sender = myUID.ToString();
                myClient.Send(file.getMessageString());
                MessageBox.Show("Your file has been sent");
            }
        }