Currently, one thread per host is spawned. This is very inefficient. See if ENet can be made to play nice with ObjFW's async resolver code.