libipc-old/examples
Karchnu 8ccefcc40f lacking default cb_out 2020-07-08 12:40:24 +02:00
..
.gitignore Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
Makefile Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
README.md Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
fd-exchange-providing.c Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
fd-exchange-receiving.c Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
fs-experimentations.c Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
fs-function-tests.c Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
pong.c s/events_loop/wait_event/ 2020-07-06 08:43:06 +02:00
pongd.c s/events_loop/wait_event/ 2020-07-06 08:43:06 +02:00
pongspam.c s/events_loop/wait_event/ 2020-07-06 08:43:06 +02:00
project.zsh Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
simple-tcp-client.c simple-tcp: corrections and debug print 2020-07-04 19:02:43 +02:00
simple-tcpd.c lacking default cb_out 2020-07-08 12:40:24 +02:00
test-ask-for-fd-to-networkd.c Compilation fixed for examples. 2020-07-08 01:15:18 +02:00
test-networkd-provide-fd.c Correction examples. 2020-07-06 14:38:06 +02:00
wsserver.c Compilation fixed for examples. 2020-07-08 01:15:18 +02:00

README.md

how to compile

make

how to launch

If libipc is already installed and you have the rights to create unix sockets in the default directory (/run/ipc), just run the code:

./pongd

In case you want to test the library and example programs:

# This is a directory anybody can write in
export IPC_RUNDIR=/tmp

# to test the library without installing it
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../

# finally, run the program, here a pong daemon
./pongd

# same thing in another terminal, to test the client
export IPC_RUNDIR=/tmp
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../
./pong