protected override void OnClientAccepted(Socket client) { MapleClient mc = new MapleClient(client, this, m_processor); mc.SendRaw(PacketCreator.Handshake()); MainForm.Instance.Log("[Login] Accepted client {0}", mc.Label); }
protected override void OnNewClientConnected(MapleClient client) { client.SendRaw(PacketCreator.Handshake(client.SendIv, client.RecvIv)); client.HasHandShaked = true; }