Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedException: Netly Message framing prefix not found. #33

Open
gbradburn opened this issue Jul 12, 2024 · 4 comments
Open

NotImplementedException: Netly Message framing prefix not found. #33

gbradburn opened this issue Jul 12, 2024 · 4 comments
Labels
help wanted Extra attention is needed question Further information is requested solved the question is solved wontfix This will not be worked on

Comments

@gbradburn
Copy link

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?

@alec1o
Copy link
Owner

alec1o commented Jul 13, 2024

Hi, thanks for wait and related this error, can please give me full output log (about the exception error)

@alec1o
Copy link
Owner

alec1o commented Jul 13, 2024

The host use ip only, but I'm thinked about implement a way to find host from domain name, but I discard this solution

@alec1o
Copy link
Owner

alec1o commented Jul 13, 2024

alec1o/Netly#37

@alec1o
Copy link
Owner

alec1o commented Jul 16, 2024

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)

@alec1o alec1o added help wanted Extra attention is needed question Further information is requested wontfix This will not be worked on solved the question is solved labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested solved the question is solved wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants