nowfound

Dev tools · March 14, 2015

AS

A simple embedded websocket server in C++

Drawing attention to an open source project of mine

A simple embedded websocket server in C++ launched on March 14, 2015 with 5 votes and more than 50% of that year's launches. The site was still online in September 2026, 11 years on.

What it does

I&rsquo;d like to draw attention to an open-source library that I open sourced a while ago: Seasocks . Seasocks is a simple-to-use, lightweight, embeddable C++ library that implements HTTP and websockets. It has a simple way of serving static content and even some dynamic content, but its main raison d&rsquo;être is for websocket-based command and control. It has no external library dependencies, and only requires C++11 features such as GCC 4.7 and above and Clang 3.4 already support. void serve () { Server server ( make_shared < PrintfLogger > (); server . serve ( "web" , 9090 ); } Websockets are a little more involved, but not a whole deal more. He&rsquo;s the skeleton of a chat client…from xania.org

Does a similar job

all alternatives →
  • DA
    DriftDB – an open source WebSocket backend for real-time apps2023 · driftdb.com · ▲367

    Hey HN! I’ve written a bunch of WebSocket servers over the years to do simple things like state synchronization, WebRTC signaling, and notifying a client when a backend job was run. I realized that if I had a simple way to create a private, temporary, mini-redis that the client could talk to directly, it would save a lot of time. So we created DriftDB. In addition to the open source server that you can run yourself, we also provide https:&#x2F;&#x2F;jamsocket.live where you can use an instance we host on Cloudflare’s edge (~13ms round trip latency from my home in NY). You may have seen my…

  • My embeddable C/C++ webserver2011 · github.com · ▲84
  • WebSocket-first development2017 · github.com · ▲120

    An demo app for lattice-core. Contribute to jasonl99/card_game development by creating an account on GitHub.

  • WebsocketD2015 · websocketd.com · ▲82

    WebSockets are easy now

  • SP
  • AOO – C++ library for real-time audio streaming and messaging2024 · aoo.iem.sh · ▲107

    AOO is a lightweight and flexible peer-to-peer audio streaming and messaging solution. It allows to send audio and messages in real-time and on demand between network endpoints - not only in local networks, but also over the public internet! The C&#x2F;C++ library can be easily embedded in host applications or plugins. It even runs on embedded devices, such as the ESP32. In addition, the project contains a Pure Data external and a SuperCollider extension. The following article provides a high level introduction and demonstrates some use cases:…

More dev tools this month

the category →
  • /dev/null▲484

    a social network for devs

    Dev tools · 3d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 23d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, March 2015

the whole month →
  • Periscope▲1,049

    Explore the world through someone else's eyes

    Life & fun · 2015 · periscope.tv

  • The best new products, every day, in your browser

    Life & fun · 2015

  • Place it. Press it. Get it.

    Commerce · 2015 · amazon.com

  • Get paid via $cashtags for things you do online or in person

    Commerce · 2015 · t.co

  • Gyroscope▲713

    A new OS for the human body

    Growth · 2015 · gyrosco.pe

  • Awesome free things for entrepreneurs & startups

    Growth · 2015 · growth.supply