Skip to content

Conversation

kszaq
Copy link

@kszaq kszaq commented Jul 16, 2025

If IPv6 address is given or resolved from hostname, TcpClient needs to be initialized with InterNetworkV6 AddressFamily, else it refuses to connect.

A very simple test to make is to use localhost instead of 127.0.0.1. In my setup, it resolves to ::1 and SimpleTcpClient cannot Connect().

If IPv6 address is given or resolved from hostname, TcpClient needs to be initialized with InterNetworkV6 AddressFamily, else it refuses to connect
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.

1 participant