skalibs
Software
www.skarnet.org
The webipc library interface
libwebipc is a small library designed to simplify
Unix domain sockets programming. It is based on code written and
placed into the public domain
by William E. Baxter for
the ucspi-ipc
package.
Compiling
- Add /package/prog/skalibs/include to your header directory list
- Use #include "webipc.h"
Linking
- Define a global variable PROG of type char const *
that contains the name of your executable.
- Link against /package/prog/skalibs/library/libwebipc.a and
/package/prog/skalibs/library/libstddjb.a.
- On some systems (for instance Solaris) you will need to link your
executables against the libsocket and libnsl libraries too.
The /package/prog/skalibs/sysdeps/socket.lib should contain the
necessary switches to add to your compiler command line for linking.
Programming
Feel free to look at the webipc.h file, and to browse the source
code; it should be easy enough to read, and the library is quite small.