stackotter / delta-client

An open source Minecraft Java Edition client built for speed.

Home Page:https://deltaclient.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove reliance on NIO

stackotter opened this issue · comments

This isn't urgent, but it'd be nice not to rely on the Swift NIO library anymore because it's very bloated and Delta Client uses a different library (FlyingSocks) for network sockets. The only feature that NIO is used for is in conjunction with NioDNS. To remove NIO we either need to replace NioDNS with another library that doesn't use NIO (I don't think one exists) or implement DNS resolution (specifically only for SRV records) on our own.

Woohoo, done. I had to change to another DNS library because NioDNS didn't provide everything I required anymore (and the new library is way better anyway).