Skip to content

Pure - Standalone Tcl websocket Server-Client implementation

Notifications You must be signed in to change notification settings

dineshsivaji/wsTcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsTcl

Pure - Standalone Tcl websocket Server-Client implementation without any additional web server like tclhttpd

This is intended for Tcl8.4, So I have altered the websocket.tcl file to make it backward compatible.

It can still run on higher versions.

How to Run ?

To start the server,

tclsh wsServer.tcl

It will be started on the port 1617. (You can customize the port)

To start the Tcl client

tclsh wsClient.tcl

It is a simple echo client-server model. Once the client connected to the server, whatever the client sends to server, will be echoed back to the client.

To check the same in web-browser, you can integrate the wsClient.js in a HTML file.

History

It is a minimalized version of tclhttpd-websocket

Based on : https://wiki.tcl-lang.org/49314

Credits

Mr.Bezoar

Mr.Jeff Smith

Mr.Donal Fellows

About

Pure - Standalone Tcl websocket Server-Client implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published