From 0142b5a696e541a874c5429c28c1a132a284ca79 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 21 Jan 2024 23:58:55 +0100 Subject: fixed open message; fixed error handling; added timer debug messages --- ecp/README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ecp/README (limited to 'ecp/README') diff --git a/ecp/README b/ecp/README new file mode 100644 index 0000000..ec6ae47 --- /dev/null +++ b/ecp/README @@ -0,0 +1,24 @@ +To build this library you will need GNU Make installed and any modern C compiler. Library is tested on Linux, *BSD and macOS operating systems. + +First you need to create features.mk makefile: + cp src/platform/posix/features_tmpl.mk src/platform/posix/features.mk + +Edit it according to your needs. Defaults are fine. Note that with_frag, with_rbuf and with_msgq are experimental features and should not be used in production. + +To (re)build library, utilities and tests simply do: + ./build.sh (MAKE=gmake ./build.sh on *BSD systems) + +In tests subdirectory you will find simple test examples. To test vc_server and vc_client (vconn feature) do: + util/mknode n1 + util/mknode n2 + util/mknode n3 + util/mknode server + cd tests + +Then launch servers (each in its own terminal): + ./vcs 0.0.0.0:3001 ../n1.priv + ./vcs 0.0.0.0:3002 ../n2.priv 127.0.0.1:3001 ../n1.pub + ./vcs 0.0.0.0:3003 ../n3.priv 127.0.0.1:3002 ../n2.pub + ./vc_server ../server.priv 127.0.0.1:3001 ../n1.pub ../n2.pub ../n3.pub + ./vc_client ../server.pub 127.0.0.1:3001 ../n1.pub ../n2.pub ../n3.pub + \ No newline at end of file -- cgit v1.2.3