Results 1 to 40 of 55

Thread: [VB6] Visual Basic 6 Client Websocket Control 1.11 BETA

Threaded View

  1. #18

    Thread Starter
    Lively Member vbLewis's Avatar
    Join Date
    Feb 2009
    Location
    USA
    Posts
    127

    Re: [VB6] Visual Basic 6 Client Websocket Control 1.9 BETA

    Quote Originally Posted by mohmag View Post
    @vbLewis

    Thumbs up for this impressive effort.

    Can we use this OCX to implement realtime messaging between "non-server" clients?
    Can you provide samples for chat application?

    Many thanks
    No, you have to have a server to coordinate messages to and from websocket clients. I believe that is what piesocket(dot)com actually does, it allows you to connect multiple clients to their server and all subscribe to the same channel. Any messages sent by a client will be seen by (aka broadcast to) all clients. I will see if i can make a multi client demo for piesocket... but that might require a full blown json parser which I didnt want to include in the source if I didnt have to, but I will look into it.

    Regards,
    lewis

    EDIT: I have updated the example on how to implement multiple chat clients using piesocket. Its a similar process with any chat server.
    Last edited by vbLewis; Apr 10th, 2022 at 01:27 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width