1iveowl / WebsocketClientLite.PCL

Websocket client lite
MIT License
38 stars 14 forks source link

Connect Web Socket with IPv6. #64

Closed m-safan closed 3 years ago

m-safan commented 3 years ago

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.