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 12:02:48 +0200
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

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