PSP adhoc data forwarder protocol and implementation, for easy and reliable adhoc multiplayer through internet
Current users:
See design.md
See ./client/postoffice.c and ./adhocctl/client/adhocctl.c
Linux:
# Ubuntu/Debian:
sudo apt install podman git
# OpenSUSE
sudo zypper install podman git
# Fedora
sudo dnf install podman git
# Clone project and build client
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/client
bash build_podman.sh
# Run tests, requires relay server on localhost running (see below)
./test.out
MacOS/FreeBSD:
# FreeBSD
sudo pkg install git gcc bash
# Clone project and build client, on MacOS, you might be prompted to install xcode commandline tools in this step if you do not have any version of xcode around
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/client
bash build_linux.sh
# Run tests, requires relay server on localhost running (see below)
./test.out
Windows:
- install https://cygwin.com/ , pick packages
mingw64-x86_64-gcc,mingw64-x86_64-gcc-g++andgit - open a cygwin shell
# Clone project and build client
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/client
bash build_windows.sh
# Run tests, requires relay server on localhost running (see below)
./test.exe
See ./server_cpp and ./adhocctl/server_cpp
Linux:
# Ubuntu/Debian:
sudo apt install podman git
# OpenSUSE
sudo zypper install podman git
# Fedora
sudo dnf install podman git
# Clone project and build server
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/server_cpp
bash build_podman.sh
# Run server
./aemu_postoffice
MacOS/FreeBSD:
# FreeBSD
sudo pkg install git gcc bash
# Clone project and build server, on MacOS, you might be prompted to install xcode commandline tools in this step if you do not have any version of xcode around
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/server_cpp
bash build_linux.sh
# Run server
./aemu_postoffice
Windows:
- install https://cygwin.com/ , pick packages
mingw64-x86_64-gcc,mingw64-x86_64-gcc-g++andgit - open a cygwin shell
# Clone project and build server
git clone https://github.com/kethen/aemu_postoffice
cd aemu_postoffice/server_cpp
bash build_windows.sh
# Run server
./aemu_postoffice.exe
- cpp-httplib https://github.com/yhirose/cpp-httplib
- json https://github.com/nlohmann/json