B4J Question [SOLVED] jWebSocketClient and binary transfer

Marcus Araujo

Member
Licensed User
Longtime User
Hi, I need to connect to a server which returns me a textual data in form of binary data (the documentation says it's textual but in reality it answers as binary - I confirmed through third-party tools).

From my forum research, it seems that jWebSocketClient (v1.01) does not support binary transfers.

In my tests, the web socket connects successfully to the wss address but the _TextMessage event is not called (the event is called for other services that responds in textual format, so it is not a programming issue).

Any ideas on how to overcome this? I could try to implement it myself, if I could access the "receive binary" event.

Thanks.
 
Top