public Form1() { InitializeComponent(); this.Listener = new UDPListener(Notify); this.Listener.Begin("localhost", 6666); this.HideThis(); }
public Form1() { InitializeComponent(); this.Listener = new UDPListener(Notify); this.Listener.Begin("localhost", 6666); this.HideThis(); }
static void Main(string[] args) { var lis = new UDPListener((s) => { Console.WriteLine(s); }); lis.Begin("", 6666); Console.Read(); }
static void Main(string[] args) { var lis = new UDPListener((s) => { Console.WriteLine(s); }); lis.Begin("", 6666); Console.Read(); }