uNetworking / uSockets

Miniscule cross-platform eventing, networking & crypto for async applications
Apache License 2.0
1.29k stars 268 forks source link

Non-blocking DNS #29

Open ghost opened 5 years ago

ghost commented 5 years ago

Connections can block when doing DNS resolution,

With C11 (we already use alignas) threading is standardized and could be used to run blocking DNS lookups.

partyblob commented 5 months ago

This is not an issue if DNS results are cached but could become an issue if the host is user-controlled to any extent