Connecting to IPv4 address would work normally. Whereas while trying to connect to a Web Socket host with IPv6 the package would throw "TCP Socket connection timed-out to IPv6 address:Port." or "Unable to establish TCP Socket connection to: IPv6 address:Port"
Now ConnectAsync will take an optional pameter AddressFamily helping TcpClinet to connect to the host smoothly.
Connecting to IPv4 address would work normally. Whereas while trying to connect to a Web Socket host with IPv6 the package would throw "TCP Socket connection timed-out to
IPv6 address
:Port
." or "Unable to establish TCP Socket connection to:IPv6 address
:Port
"Now ConnectAsync will take an optional pameter
AddressFamily
helping TcpClinet to connect to the host smoothly.