alec1o / Netly

Netly: Cross-Platform, Multi-Protocol C# Socket Library – Fast, Easy, and Versatile.⚡
https://netly.docs.kezero.com
MIT License
67 stars 11 forks source link

Host obtain ip and by url using DNS #37

Open alec1o opened 7 months ago

alec1o commented 7 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 5 months ago

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

alec1o commented 4 months ago

More details about this issues be closed, can find here: https://github.com/alec1o/Byter/issues/33