Search found 7 matches

by nimda
Tue Aug 28, 2018 12:02 am
Forum: Feature Requests and Wishlists
Topic: HTTP/2 + websocket
Replies: 17
Views: 7338

Re: HTTP/2 + websocket

+1
by nimda
Sun Aug 26, 2018 2:47 pm
Forum: Applications - Feedback and Discussion
Topic: Websocket Client
Replies: 28
Views: 20821

Re: Websocket Client

Hello, just to notice a little bug: pong answer has to be masked, or the server disconnects you. Great script though, thank you Netzvamp :wink:
by nimda
Sat Aug 25, 2018 10:19 am
Forum: Coding Questions
Topic: PureBasic and wss websocket?
Replies: 9
Views: 3343

Re: PureBasic and wss websocket?

Hu ho... It seems something is wrong with memory, I get errors after a few seconds.

Code: https://gist.github.com/Netzvamp/8623def14501de15c9e4
(code is 3 years old...)

(...)
[10:37:43] [ERROR] module_websocketclient.pb (Line: 337)
[10:37:43] [ERROR] Invalid memory access. (read error at address ...
by nimda
Thu Aug 23, 2018 4:24 pm
Forum: Coding Questions
Topic: PureBasic and wss websocket?
Replies: 9
Views: 3343

Re: PureBasic and wss websocket?

Ah... Well, I'll try to find more about websocket syntax. Thanks anyway! :)

BTW, this is where I want to connect, if that helps: https://github.com/binance-exchange/binance-official-api-docs/blob/master/web-socket-streams.md Maybe it's obvious for coding gurus, but it's not for beginners ...
by nimda
Thu Aug 23, 2018 2:17 pm
Forum: Coding Questions
Topic: PureBasic and wss websocket?
Replies: 9
Views: 3343

Re: PureBasic and wss websocket?

Oh ok, I see... I guess I have to use SendNetworkString() (string being: /one/long/path/withf@ncycharacter) once connected to host, to access the stream?
by nimda
Thu Aug 23, 2018 12:06 pm
Forum: Coding Questions
Topic: PureBasic and wss websocket?
Replies: 9
Views: 3343

Re: PureBasic and wss websocket?

Ok, so there's a couple ways to bypass this constraint. Thanks! :wink:

As a PureBasic newbie, I'll probably give a try to Stunnel before messing around with libs... :mrgreen:

Also (just to make sure), OpenNetworkConnection() supports server names with path, right? (ex: http(or ws)://server.com ...
by nimda
Thu Aug 23, 2018 12:32 am
Forum: Coding Questions
Topic: PureBasic and wss websocket?
Replies: 9
Views: 3343

PureBasic and wss websocket?

Hello,

I need to access a secured websocket server (wss), is PureBasic able to do that?

Thanks :)