Skip to content

TheCherno/Walnut-Chat

Repository files navigation

Walnut Chat

Walnut Chat is a simple client/server text chat app built with Walnut and the Walnut-Networking module. The server currently runs on both Windows (GUI/headless) and Linux (headless only), and the client is Windows only at this stage (Linux support coming soon).

This was built as a demonstration of networking in C++ for a video on my YouTube channel. There is no security so be careful! Definitely don't run this as root on your server/computer and there certainly isn't any message encryption. Watch the video here.

WalnutExample

Walnut Chat Client

Building

Windows

Running scripts/Setup.bat will generate both Walnut-Chat.sln and Walnut-Chat-Headless.sln solution files for Visual Studio 2022. The headless variant will only include the server, running in the headless config (no GUI console app), and the Walnut-Chat solution can be used to build GUI versions of the client and/or server.

Linux (tested on Ubuntu 22)

Run scripts/Setup.sh to generate make files for the headless server project. You can then call make in the root directory of the repository to build.

About

Some examples on how to use Valve's GameNetworkingSockets library for networking in C++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages