High Level Secure Socket & Websocket API

The high level secure socket and secure WebSocket API provides a Lua API to the lower level Barracuda Embedded Web Server's portable socket API. The socket API is portable across all platforms supported by the Barracuda Embedded Web Server.

The socket API is also integrated with SharkSSL (our SSL/TLS client and server stack), thus making it extremely easy to create secure socket applications.

Example:

The screenshot below is from the socket example included in the Barracuda App Server Tutorials. ELIZA the Psychotherapist Telnet Server is implemented in 35 lines of Lua script code.

ELIZA is a computer program and an example of primitive natural language processing. The ELIZA socket example exposes the AI engine as a telnet server.

Eliza the Psychotherapist