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

Modified client connection to circumvent DNS resolution #32

Merged
merged 2 commits into from
Jan 28, 2023

Conversation

OlHall
Copy link
Contributor

@OlHall OlHall commented Jan 24, 2023

Fixes #29

I thought the issue we had Issue 29 was resolved, but it turns out that wasn't the case.
For some reason, DNS.GetHostEntry(...) fails on our network when a plain IPv4 address is provided.

I've added a quick check to SocketClient Connect to see if the address is already a dotted IP - if it is, use this rather than trying a lookup. I've tested it and it works here.

Apologies if there's a better solution to this.

Copy link
Owner

@tig tig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! I'll get a new ver out asap.

@tig tig merged commit 1a17b40 into tig:master Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MCEC Client Host is failing on an IP address
2 participants