- From: Torbjörn Andersson <torbjorn.andersson AT kau.se>
- To: "'Francois Buntschu'" <francois.buntschu AT eif.ch>
- Cc: <discussion AT sctp.de>
- Subject: SV: [SCTP-Discussion] SCTP socket api
- Date: Thu Sep 5 08:57:01 2002
- Importance: Normal
- List-id: SCTP Discussions <discussion.sctp.de>
The previous declaration error can be removed by including the config.h
file, can be found at the root of the socketapi directory.
//Torbjörn
-----Ursprungligt meddelande-----
Från:
discussion-admin AT sctp.de
[mailto:discussion-admin AT sctp.de]
För
Francois Buntschu
Skickat: den 4 september 2002 16:40
Till:
discussion AT sctp.de
Ämne: [SCTP-Discussion] SCTP socket api
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
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.