static void Main(string[] args) { string serverIP = "192.168.70.56"; int serverPort = 2699; VETCService.ServiceEvent += new VETCServiceEvent(OnReceiver); VETCService service = new VETCService(serverIP, serverPort); Console.Read(); }