Archived
3
0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
libipc-old/examples
2023-01-03 12:09:28 +01:00
..
.gitignore Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
fd-exchange-providing.c fd-exchange tests in C: fix socket names. 2023-01-03 12:09:28 +01:00
fd-exchange-receiving.c fd-exchange tests in C: fix socket names. 2023-01-03 12:09:28 +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
Makefile Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
pong.c Minor changes in examples. 2020-10-01 03:19:52 +02:00
pongd.c Minor changes in examples. 2020-10-01 03:19:52 +02:00
pongspam.c ipc_connection now provides the server fd. 2020-07-13 18:37:33 +02:00
project.zsh 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
simple-tcp-client.c libipc v0.7: callbacks for proxies, better memory management. 2020-07-13 14:12:08 +02:00
simple-tcpd.c ipc_connection now provides the server fd. 2020-07-13 18:37:33 +02:00
test-ask-for-fd-to-networkd.c libipc v0.7: callbacks for proxies, better memory management. 2020-07-13 14:12:08 +02:00
test-networkd-provide-fd.c ipc_connection now provides the server fd. 2020-07-13 18:37:33 +02:00
wsserver.c ipc_connection now provides the server fd. 2020-07-13 18:37:33 +02:00

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