SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] How to Compile and run a simple SCTP socket program


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT iem.uni-due.de>
  • To: rohit agrawal <agrawal_rohit1 AT yahoo.co.in>
  • Cc: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] How to Compile and run a simple SCTP socket program
  • Date: Mon Apr 3 12:12:03 2006
  • List-id: SCTP Discussions <discussion.sctp.de>

On Saturday 01 April 2006 11:47, rohit agrawal wrote:
> Hi,
>
> I made a simple program, but i am not able to compile and run it. I have
> successfully installed sctplib (sctplib 1.0.4) and
> socketsapi(socketapi-1.7.0). Can any one please tell me what all is
> required to make simple SCTP socket program ?

1. Go to socketapi/socket_programs.
2. Place you program (e.g. as myprog.c) in this directory.
3. Edit Makefile.am
- Add your program in the 3rd line:
noinst_PROGRAMS = ... myprog
- Add the following lines to the end:
myprog_SOURCES = myprog.c
myprog_CFLAGS = -I../socketapi
myprog_LDADD = ../socketapi/libsctpsocket.la -lstdc++
4. Run make.


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
=======================================================================

Attachment: pgp4Kf3lSOZV4.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.19+.

Top of page