summaryrefslogtreecommitdiff
path: root/ecp/README
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-01-21 23:58:55 +0100
committerUros Majstorovic <majstor@majstor.org>2024-01-21 23:58:55 +0100
commit0142b5a696e541a874c5429c28c1a132a284ca79 (patch)
tree54ad82cbcd390e5d839f26b9859f30880b8f405b /ecp/README
parentbf0ead55678a7c5ed3e11a1b500bb83e7facf722 (diff)
fixed open message; fixed error handling; added timer debug messages
Diffstat (limited to 'ecp/README')
-rw-r--r--ecp/README24
1 files changed, 24 insertions, 0 deletions
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