B4J Library jWebSocketClient library

Erel

Administrator
Staff member
Licensed User
With this library you can implement WebSocket clients. The API is identical to the B4A library: http://www.basic4ppc.com/android/forum/threads/websocket-client-library.40221/#content (except of the object name which is WebSocketClient).

It is based on Jetty WebSocket client implementation.

The push client example was ported to B4J: http://www.basic4ppc.com/android/forum/threads/custom-websocket-based-push-framework.40272/





upload_2014-5-14_12-48-18.png


This means that you can now implement an (almost) always connected solution with bi-directional communication running on Androids, desktops and browsers.

The library is included in the IDE.
 

Attachments

Last edited:

wl

Well-Known Member
Licensed User
Hi Erel,

As far as I know the library already existed for a few weeks: is there anything new in this library that made you create this post about an hour ago ?
Or has the B4J client library been added ?

Thanks
 

Silv

Member
Licensed User
Hi Erel can you give me the code of your server in the samples? ws://basic4ppc.com:51042/push/b4a_ws2 this one
 

KY Leng

Member
Licensed User
Hi Erel,

I am not sure whether the server can be implemented on android device or not?
Secondly, do we need static IP for the server or only hosting is enough ?

Best regards,
 
Top