SCTP Discussions

Text archives Help


[SCTP-Discussion] SCTP socket api


Chronological Thread 
  • From: Francois Buntschu <francois.buntschu AT eif.ch>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] SCTP socket api
  • Date: Wed Sep 4 20:27:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi,

I'm trying to implement the sctp socket API on Linux and FreeBSD and I got some questions concerning the examples that are provided with the code.

I got two machines connected through an IP router, and I installed the sctplib and sctp socket api on both.

a. sctpterminal

I started the sctpterminal on both side:

./sctpterminal 10.1.1.1:1234 -local=10.1.2.2
./sctpterminal 10.1.2.2:1234 -local=10.1.1.1

But both are staying in "Connecting ..." prompt.
Do I need to use an other application on the server side ? Or do I missing some parameters ?

b. sctptest

I tried to compile this application on Linux, but I got the following error message:

gcc -c -DLINUX -Wall -g -O2 -I. -I../socketapi-1.0.0/socketapi -I../socketapi-1.0.0/cppsocketapi -I/usr/local/include -o sctptest.o sctptest.cc
In file included from sctptest.cc:35:
../socketapi-1.0.0/socketapi/tdsystem.h:94: conflicting types for `typedef int socklen_t'
/usr/include/unistd.h:247: previous declaration as `typedef __socklen_t socklen_t'

Any help will be appreciated !!

With kind regards

Francois Buntschu
-------------------------------------------------------------------------------------------
UNIVERSITY OF APPLIED SCIENCES OF FRIBOURG
Bd de Pérolles 80
CH-1705 Fribourg / Switzerland

Phone direct : +41 (0)26 429 65 79
Phone : +41 (0)26 429 66 11
Fax : +41 (0)26 429 66 00
e-mail :
mailto:francois.buntschu AT eif.ch
web : http://www.eif.ch/~buntschu







Archive powered by MHonArc 2.6.19+.

Top of page