SCTP Discussions

Text archives Help


[SCTP-Discussion] Re: help , about coding


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: 奕成 <p7695175 AT mail.ncku.edu.tw>
  • Cc: sctp-discussion AT sctp.de
  • Subject: [SCTP-Discussion] Re: help , about coding
  • Date: Thu, 4 Sep 2008 17:34:02 +0200
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Hi,

then you must not be using the supplied makefiles...

SCTP_receive is defined in sctp_wrapper.c, to which your
program needs to be linked against...

Best regards
Michael

On Sep 4, 2008, at 2:11 PM, 奕成 wrote:

Hi,
Thanks for your replay,
But I am using the sample code in sctplib programs file, not my code,
I think maybe I lost something so it cant run corretly.
YCL

-----Original Message-----
From: Michael Tuexen
[mailto:Michael.Tuexen AT micmac.franken.de]
Sent: Thursday, September 04, 2008 6:03 PM
To: 奕成
Cc:
sctp-discussion AT sctp.de
Subject: Re: help , about coding

Use sctp_receive in your code instead of SCTP_receive...

On Sep 4, 2008, at 9:38 AM, 奕成 wrote:

Hi,
Sorry to bother u again.
I want to write an application using lib and socket api , to
transmit the media data .
The beginning , I compile the sample code .
Here has two question:
1.
Using
gcc –o xxx xxx.c –lsctp –lglib
but its always tell me I has some function undefined reference.
--
/tmp/ccpQtpzb.o : In function ‘dataArriveNotif’:
Terminal.c : (.text+0x59b): undefined reference to ‘SCTP_receive’
...
...
--
I has been looked for teaching file in manual.
2.
Has ever somebody using sctp api to write application can transmit
media data.
Or does its possible to do it using api that sctp support. Can give
some way to me.

Thanks for your replay.
YCL








Archive powered by MHonArc 2.6.19+.

Top of page