alec1o / Netly

Cross-Platform and Multi-Protocol C# Socket Library. (Extremely fast and easy) 🇳 🇪 🇹 🇱 🇾
https://netly.docs.kezero.com
MIT License
58 stars 8 forks source link

Host obtain ip and by url using DNS #37

Closed alec1o closed 4 weeks ago

alec1o commented 3 months ago
# current version
Host instance = new Host("127.0.0.1", 8080);
Host instance = new Host(...);
# new features required
Host instance = new Host("www.alec1o.com:8080");
Hacks
  • It will use DNS to found IP from url, and for prevent block program only will start find IP when Connect (Open) thread or call function like new Host("www.alec1o.com:7777").RunDNS()
alec1o commented 4 weeks ago

:racehorse: : It must not be implemented on Netly layer