static void createClient(Messager<SessionData3> messager) { Console.WriteLine("createClient"); messager.Connect(new Ceeji.Network.IPEndPoint(IPAddress.Loopback, 8080), (sender, session, ex) => { if (session != null) { sendAddOrClose(session); } }); }