SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] About different implementations


Chronological Thread 
  • From: Michael Tüxen <Michael.Tuexen AT micmac.franken.de>
  • To: goncalo.bernardo AT fe.up.pt
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] About different implementations
  • Date: Tue, 22 Sep 2009 09:43:07 +0200
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

On Sep 21, 2009, at 6:48 PM, Gonçalo Bernardo wrote:

inline

Michael Tüxen wrote:
On Sep 21, 2009, at 1:52 AM, Gonçalo Bernardo wrote:

hi everyone!,

can you please teach me how the hell the implementations sctplib +socketapi work and what are the differences to lksctp implementation?
The sctplib is a different implementation, running in userland and does not
provide a lot of features. When using Linux, I would recommend using the
Linux kernel implemenation.
it happened that i had exactly the opposite idea. which one of them better approaches draft-ietf-tsvwg-sctpsocket-19.txt?
I would guess, LKSCTP. Please note that the development of the sctplib and I think on the
socketapilib also has stopped. We are fixing bugs if reported, but that is it...
is there any other documentation relating lksctp?
Man pages, the internet draft, Unix network programming vol 3, and the source code!

just another question about lksctp. imagine this: you have two endpoints A (sigle-homed) and B (multi-homed 1,2). A sends a message to B1 (the only B address that it is aware of) that implicitly establishes a connection. Having A set SCTP_ASSOC_CHANGE before it expects to receive an SCTP_COMM_UP notification. in the meanwhile B1 goes down. is it possible that SCTP_ASSOC_CHANGE appears as arriving from B2 leaving A with no confirmation for the required association with B? =S
It is not clear to me what you describe... Could you be a bit more precise?
Please note, that I'm not an expert on the Linux kernel implementation, but
I can try to answer it in a generic way. I might be able to answer your question
for the FreeBSD kernel implementation... But you can always ask on the lksctp
developers list for LKSCTP specific questions.

Best regards
Michael

thanks,
gonçalo

as a beginner i noticed that any of the sources provided under socket_programs has an include directive like <sctp.h>. in light of this, how does the compller knows the sctp terms?

another question: while using lksctp i have to specify -lsctp on gcc. what about sctplib+socketapi?
If you want to link a program against sctplib and socketapilib, have a look at the
corresponding Makefiles...

i'm a bit lost as you can see!!
First of all: Make a choice. Use the kernel (which is what I would
recommend) or use the userland implementation.

thanks in advance


_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion









Archive powered by MHonArc 2.6.19+.

Top of page