spunet 1.0.0

A very simple client/server library that just deals with merging TCP/UDP. No extra frills or compatibility-breaking features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# About

Spunet is a very easy-to-use, zero dependency, networking
library where the only aim is to make TCP and UDP smooth to use.

It doesn't do anything special apart from start up TCP streams and UDP sockets
and put them in separate threads so you don't block the main thread when
reading data from the network. This library also makes it trivially easy
to send/receive messages on both TCP and UDP with only one change to a single
argument of either the `send()` or `recv()`
functions!

This library does nothing extra with TCP and UDP, so this library is fully
compatible with other programs that just use the regular TCP/UDP implementations
in the standard library of whatever programming language they use. The only requirement
is that the UDP socket and TCP stream of the other application or process share the same
bound address with each other since the client and server of this library target the same
address for both TCP and UDP.