spunet

Crates.iospunet
lib.rsspunet
version1.0.0
sourcesrc
created_at2024-12-05 02:12:59.968229
updated_at2024-12-05 02:12:59.968229
descriptionA very simple client/server library that just deals with merging TCP/UDP. No extra frills or compatibility-breaking features.
homepage
repositoryhttps://gitlab.com/oglo-crates/spunet
max_upload_size
id1472797
size36,103
Jackson Novak (Oglo12)

documentation

README

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.

Commit count: 2

cargo fmt