Example #1
0
        static void Main()
        {
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SocketCommunication Sender = new SocketCommunication();
            EvLoop Loop = new EvLoop();

            Sender.SetLoopAddress(Loop);
            Loop.SetSenderAddress(Sender);
            Sender.Connect("172.20.149.33", 3333); //f**k yeah
            Application.Run(new MainForm(Loop));
        }
Example #2
0
 public void SetSenderAddress(SocketCommunication a)
 {
     Sender = a;
     return;
 }