Re: WebSockets support in vw9.4.1?

Mark PIrogovsky <[email protected]> Sat, 11 Jan 2025 17:19:17 -0500
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <[email protected]>
David,

It is a part of the SiouX server now.

According to the WebServerGuide.pdf document:

"WebSockets provide a means to establish a bidirectional
socket connection between the client and
server. This allows for low-latency communication
between client and server. WebSockets are intended to
supersede the use of Comet or long polling techniques.
They can augment Ajax when a persistent connection is
required for data to be sent from server to client.
SiouX provides a complete implementation of the
WebSocket protocol. To enable this support in SiouX,
simply use the Parcel manager to load the package
SiouX-WebSocket. The standard VisualWorks distribution
also includes two WebSocket examples in the AppeXExamples
package: class WebSocketChat and WebSocketApp"

Hope this helps.

I newer used it myself, so I would be very interested to hear about your 
experience.

Best regards,

--

Mark Pirogovsky

On 1/10/2025 3:55 PM, David Shaffer wrote:
> Anyone know of a way to get WebSockets connections working in vw9.4.1?  I’ve been staring a popular Python implementation and I’ve decided I’m too old to implement another protocol ;)
>
> Best,
>
> David