Results 1 to 3 of 3

Thread: Looking for example of chat app using websockets

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    7

    Looking for example of chat app using websockets

    Could anyone point me to an example of a Lianja chat app using websockets?

    Thanks.

  2. #2
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    Hi,

    A chat app was not mentioned here before. Chat server was:
    I think the socket method would be more efficient. I guess I could also build a chat server while I'm at it.. Lianja ROCKS!!!!
    http://www.lianja.com/community/show...ML5-Client-API

    The best sources for socket:
    http://www.lianja.com/doc/index.php/...d_Web_Services
    https://www.lianja.com/resources/blo...kets-in-lianja

    Also some (old) forum discussions:
    http://www.lianja.com/community/show...open()-Problem
    http://www.lianja.com/community/show...eturns-Nothing
    http://www.lianja.com/community/show...anja-for-Linux

    Josip
    Last edited by josipradnik; 2018-01-16 at 01:17.

  3. #3
    Junior Member
    Join Date
    May 2014
    Posts
    7
    Thanks for the reference links, Josip. I will take some time and look through them.

    In my view, websockets have a few advantages over TCP sockets in a chat app. The biggest is receiving communication in complete frames, where as normal TCP sockets don't. Also, they use port 80 / 443, so firewall issues are less likely.

    It seems like it would be a fairly easy example app to write using Lianja. It would be great to have an example of this in a future release of the sample apps.

    -Matt

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us