- From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
- To: "Marjan Bozinovski" <marjanb AT cpk.auc.dk>, <rsplib-discussion AT sctp.de>
- Subject: Re: [RSPlib-Discusssion] external use of rsplib and socketapi
- Date: Fri Sep 6 10:42:00 2002
- List-id: RSPlib Discussions <rsplib-discussion.sctp.de>
- Organization: University of Essen, Institute for Experimental Mathematics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 5. September 2002 17:30 schrieb Marjan Bozinovski:
>
Hi,
>
>
I am trying to write my own PU client application, which will make use of
>
the same header files listed in the file examplepu.c:
>
>
#include "tdtypes.h"
>
#include "utilities.h"
>
#include "netutilities.h"
>
#include "rsplib.h"
>
#include "breakdetector.h"
>
>
#include <ext_socket.h>
>
#include <signal.h>
>
>
Probably, one way of doing this is to create the new client the same way
>
examplepu.c has been created. But, I want to have the client program
>
existing in a different directory than rsplib and with independent
>
compiling. My question is how to link my PU client application with the
>
rsplib and socketapi? I don't know if I understand it well, but is the main
>
problem actually how to link to the header files which are existent in
>
another directory and are necessary for this new application.
To install the socket API or the rsplib, run "make install" in the main
directory of the package. This will install the library under /usr/local/lib
and the include file (ext_socket.h or rsplib.h) under /usr/local/include. To
use the libraries, link your program with -lrsplib -lsocketapi.
To use the rsplib, you only need to include rsplib.h. The other header files
are only used internally. (examplepe uses some functions from utilities.h and
netutilities.h for string<->address conversion and printing.)
Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage:
http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iD8DBQE9eGyO32BbsHYPLWURAvBFAKDYTP90PdNZyX+ZhQmyCJnodKNNPgCggIlH
VS8riU2Sh3y3jYfbgP8gWA4=
=HNGN
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.