From f5e275b8bc9cda33f41b12690e3c7ae94b5337c4 Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 13 May 2019 23:24:07 +0100 Subject: [PATCH] update readme --- README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README b/README index c24e9e2..c387ed5 100644 --- a/README +++ b/README @@ -69,6 +69,30 @@ Run `sudo make install' to install ffi library system-wide and attempt to symlin --- +Example using test-client.lisp && test-server.lisp: + +Terminal 1: +$ ./test-server + +Terminal 2: +$ ./test-client +> (send "Hello world") + +Terminal 1: + <- (STRING) Hello world + +Terminal 2: +> (close) + +Terminal 1: + <- (CLOSE) NIL +[-] listen rc 1 +$ + +Terminal 1: +> quit +$ + Example using sipcli (run `make all-ffi' in libsipc/ directory) (see `test-server.lisp' for example server)