Esempio n. 1
0
 static void Main(string[] args)
 {
     _client = new TcpModuleClient();
     _client.Connect(args[0], int.Parse(args[1]));
     _client.Connected += _client_Connected;
     _client.Recieved  += _client_Recieved;
     Console.WriteLine(args[0] + " " + args[1]);
     while (!exit)
     {
     }
 }
Esempio n. 2
0
        public MainForm()
        {
            InitializeComponent();
            m_TcpClient            = new TcpModuleClient();
            m_TcpClient.Connected += M_TcpClient_Connected;
            m_TcpClient.Recieved  += M_TcpClient_Receive;

            m_inbox  = new List <CoreLib.Message>();
            m_outbox = new List <CoreLib.Message>();


            ///
        }