kerryjiang / WebSocket4Net

A popular .NET WebSocket Client
Apache License 2.0
764 stars 273 forks source link

Not work with domain #172

Closed ghost closed 1 month ago

ghost commented 4 years ago

For some reason in linux it is not connecting if you define a domain, but if you define an ip it works normally. No error is triggered and keeps connecting endlessly

I tried to use the pure ip, but I needed access to the "Host" header, but when it doesn't work, because it is set automatically

What can I do to resolve? It would be interesting if I could modify the "Host" header ...

I'm sorry, I don't speak english

kerryjiang commented 1 month ago

Please try WebSocket4Net latest beta release: https://www.nuget.org/packages/WebSocket4Net/1.0.0-beta.4