Embedded Systems Conference

We showcased the Barracuda Embedded Web Server running on ThreadX and NetX together with Express Logic at the Embedded Systems Conference in Silicon Valley.

We demonstrated a PacMan game running in a browser and controlled via a telnet client. The purpose with the PacMan game is to show how a modern user interface can be updated in real time, over Ethernet, from an embedded device.


The PacMan game is bundled with the Barracuda Demo and Tutorial.

ESC 2011

How the Telnet to Pacman Server Works

The Barracuda Embedded Web Server's Lua Server Pages (LSP) plugin provides a framework for applications designed in the Lua scripting language. The game controller, which is designed entirely in the Lua language, is responsible for proxying the traffic between the telnet client and the PacMan game running in the browser. The game controller Lua script uses ready to use components such as the high level socket API.


  1. A browser navigates to the PacMan "game controller" running in the server.
  2. The PacMan game, which is completely implemented in JavaScript, is loaded into the browser.
  3. The browser loads all resources such as the sound files.
  4. The game's JavaScript code starts to execute and the code opens a persistent bi-directional communication channel to the server.
  5. The game is now ready to accept a telnet connection.
  6. A telnet client connects to the server.
  7. The game controller connects the two clients together and initiates the game.
  8. Keyboard events are sent from the telnet client to the PacMan game running in the browser via the game controller proxy.
  9. When the game ends, JavaScript code sends an event to the game controller, which then terminates the telnet connection.

Download PacMan Game

Stuck on a Design Detail? Let's Solve It Together:

Our seasoned experts are ready to tackle your most pressing networking, security, and device management challenges. And if you're fueled by the DIY spirit, our rich collection of tutorials awaits to guide you. With us, you get the best of both worlds. Your project, our dedication.


OPC-UA Client & Server

An easy to use OPC UA stack that enables bridging of OPC-UA enabled industrial products with cloud services, IT, and HTML5 user interfaces.

Edge Controller

Edge Controller

Use our user programmable Edge-Controller as a tool to accelerate development of the next generation industrial edge products and to facilitate rapid IoT and IIoT development.

On-Premises IoT

On-Premises IoT Platform

Learn how to use the Barracuda App Server as your On-Premises IoT Foundation.

Embedded Web Server

Barracuda Embedded Web Server

The compact Web Server C library is included in the Barracuda App Server protocol suite but can also be used standalone.

WebSocket Server

Microcontroller Friendly

The tiny Minnow Server enables modern web server user interfaces to be used as the graphical front end for tiny microcontrollers. Make sure to check out the reference design and the Minnow Server design guide.

WebDAV Server

Network File System

Why use FTP when you can use your device as a secure network drive.

HTTP Client

Secure HTTP Client Library

PikeHTTP is a compact and secure HTTP client C library that greatly simplifies the design of HTTP/REST style apps in C or C++.

WebSocket Client

Microcontroller Friendly

The embedded WebSocket C library lets developers design tiny and secure IoT applications based on the WebSocket protocol.

SMTP Client

Secure Embedded SMTP Library

Send alarms and other notifications from any microcontroller powered product.

Crypto Library

RayCrypto C Library

The RayCrypto engine is an extremely small and fast embedded crypto library designed specifically for embedded resource-constrained devices.

Embedded PKI Service

Automatic SSL Certificate Management for Devices

Real Time Logic's SharkTrust™ service is an automatic Public Key Infrastructure (PKI) solution for products containing an Embedded Web Server.


Modbus TCP client

The Modbus client enables bridging of Modbus enabled industrial products with modern IoT devices and HTML5 powered HMIs.

Posted in News