public void Send(string data, Client to)
        {
            //Make asyncronous
            try
            {
                m_tcpClient = new TcpClient();
                m_tcpClient.Connect(to.IP, int.Parse(to.Port));
                m_networkStream = m_tcpClient.GetStream();
                byte[] message = new byte[4096];
                ASCIIEncoding encoder = new ASCIIEncoding();
                message = encoder.GetBytes(data);
                m_networkStream.Write(message, 0, message.Length);
                m_networkStream.Flush();
                m_networkStream.Close();
                m_tcpClient.Close();
                m_tcpClient = null;
            }
            catch (Exception e)
            {
            	//Error..
            }
            

        }
 private void PairWithServer()
 {
     Client server = new Client(Properties.Settings.Default.ServerIP,(21337).ToString());
     m_transmitter.Send("98|" + m_ownerId + "|" + LocalIPAddress() + "|" + m_receiver.ListeningPort, server);
 }
 public void Send(string data, Client to)
 {
     m_transmitter.Send(data, to);
 }
 public AndroidPcPair(Client android, Client pc)
 {
     m_androidClient = android;
     m_pcClient = pc;
 }