Recent

Author Topic: [LAMW] websocket  (Read 6078 times)

juank1971

  • Full Member
  • ***
  • Posts: 112
[LAMW] websocket
« on: February 11, 2021, 06:41:02 pm »
hi,
how is it possible to use websocket with lamw,
some type of pushing connection, such as the Wastapp chat that uses the pushing type,
that is, the server can communicate with the user on the android phone with websocket.

tanks all.


Mongkey

  • Full Member
  • ***
  • Posts: 215
Re: [LAMW] websocket
« Reply #1 on: December 21, 2021, 11:06:37 am »
« Last Edit: December 21, 2021, 11:08:17 am by Mongkey »

r.lukasiak

  • New Member
  • *
  • Posts: 48
Re: [LAMW] websocket
« Reply #2 on: December 21, 2021, 06:46:27 pm »
I use lNet on the server side and jTCPSocketClent from LAMW on the client side. It works pretty well.

Mongkey

  • Full Member
  • ***
  • Posts: 215
Re: [LAMW] websocket
« Reply #3 on: December 22, 2021, 10:09:03 am »
Impressive!  8)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2111
Re: [LAMW] websocket
« Reply #4 on: December 23, 2021, 04:30:33 am »

Quote
https://github.com/gusavila92/java-android-websocket-client

May be mr. Jmpessoa could wrap this websocket client.

Done!

NEW! jcWebSocket component!                    [need Gradle...]
NEW! demo "AppJCenterWebSocketDemo1"  [Please, test it!!!!]

Thanks!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Mongkey

  • Full Member
  • ***
  • Posts: 215
Re: [LAMW] websocket
« Reply #5 on: December 23, 2021, 10:10:54 am »
Wow got many ready to use components  8), amazing ... RAD! I see LAMW just like python, has wide compatibility to use another library  :D
« Last Edit: December 23, 2021, 10:21:50 am by Mongkey »

Mongkey

  • Full Member
  • ***
  • Posts: 215
Re: [LAMW] websocket
« Reply #6 on: December 23, 2021, 02:51:43 pm »
I saw you wrap a library very easy n looks like low coding, cwebsocket only has 11 procedures and all were finish  ::), i tried 4 times all were failed, do you have any video for wrapping library instead picture steps you sent to me?
« Last Edit: December 23, 2021, 02:54:54 pm by Mongkey »

 

TinyPortal © 2005-2018