Open gbradburn opened 4 months ago
Hi, thanks for wait and related this error, can please give me full output log (about the exception error)
The host use ip only, but I'm thinked about implement a way to find host from domain name, but I discard this solution
Yes it's correct because Host only accept ip address, I think about implement that but I discard this ideia because is more good to netly make focus on ip address, the reason was: then you find domain first you need network, 2nd you must process this domain on background,
what dns netly will choose IPv4 or IPv6 ip? If you have more than one IP what choose? First or Last? Is example of things that you must config, implement this should make complex host usage.
But is must fast found ip from a domain in c# and pas this address and ip to netly.
var url = "http://oldschool.runescape.com/game?world=321";
Uri myUri = new Uri(url);
var ip = Dns.GetHostAddresses(myUri.Host)[0];
Host host = new Host(ip, $port)
I'm getting this error when opening a TCP connection. What am I missing? Also, it looks like Host can only take an IP address not a named address (e.g. someaddr.com). Is that correct?