private void btnKirimDataKeServer_Click(object sender, EventArgs e)
 {
     varGlobal.alamatIPServer = txtIPTujuan.Text;
     varGlobal.port           = Int16.Parse(txtPortClient.Text);
     SocketTCP.StartClient(txtKirimData.Text);
 }
 private void listenSocket()
 {
     varGlobal.port           = Int16.Parse(txtPortServer.Text); // konversi dari string ke integer
     varGlobal.alamatIPServer = txtIPServer.Text;
     SocketTCP.StartListening();
 }