From: Jon G. <jg...@us...> - 2003-05-28 13:41:52
|
Naveen.R.Ranga wrote: > Hi, > This is Naveen. New to the list. I am all confused Hello Naveen, > with all packages here and there for the > socket programming of SCTP. I want to design an > application that works with SCTP packets. There are many implementations of SCTP. This may be what's adding to your confusion as one usually doesn't think about multiple implementations of TCP that one can choose from. SCTP is an emerging technology so we have lots of different implementation. Each can choose their own API, but at the protocol level we all need to interoperate. In the future, its hoped the SCTP will be as prevalent as TCP (and have a common api on the general purpose systems), but for now it takes a bit of extra work to get SCTP on to your system. > Please let me know as to what package I need to > download in order to do socket programming > for SCTP(I wud like the system calls of the > draft>>>draft-ietf-tsvwg-sctpsocket-06.txt >>>) > E.g: socket(int sd, SOCK_STREAM,IPPROTO_SCTP) and etc > Please let me know the user library to download and > install. I am running on a Red Hat > Linux 9.x. I have read all of the socket api(draft) > draft and I find it easy using the actual system > calls of the draft.. > Please let me know which package to download and do > the socket programming for the > SCTP(thats my goal). Please let me know soon. THanks > Well.... this part may scare you off. We are a kernel implementation of SCTP, so you'll need to compile/execute your own Linux kernel. You'll need a 2.5 kernel (latest kernel is 2.5.70) It can be downloaded from the www.kernel.org. http://www.kernel.org/pub/linux/kernel/v2.5/ Note: the 2.5.x line of Linux is still in development (as are we); new releases come out every 2 (+/- 1 or so) weeks. Occasionally, we'll have a patch for fixes that are on top of Linus' Linux releases, but for the most part we get our stuff pushed into the mainline kernel as soon as we can. Note: if you use modules you'll need Rusty Russell's module tools: http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.9.12.tar.gz So really, learning to compile and execute your own 2.5 kernel is your first order of business. Otherwise, you'll need at minimum the header file netinet/sctp.h, but probably the code for the helper library (sctp_bindx, etc..) for functions. Both of these are available in the sctp-tools package, which will also have some example code written to SCTP. Get these examples running next to verify that your system is properly running SCTP. Here's the latest downloads (2.5.69 linux kernel based). http://sourceforge.net/project/shownotes.php?release_id=153845 You can either try 2.5.69 or try 2.5.70. 2.5.69 had some serious bugs in the linux kernel, so I'd suggest using 2.5.70. The downside is the the current lksctp-tools package is 2.5.69 based so somethings like the frametests won't work. But I think that's ok for you, as you want to write a real application which only needs the headers and libsctp, so the 2.5.69 based lksctp-tools should work for you. Best Regards, Jon > nav > > ===== > NAVEEN REDDY RANGA > 600, South Webster Ave,#113 > Norman,OK-73069. > Ph:(405)-329-5988 > E-mail: > Personal: rna...@ho... > College:nr...@ou... > > __________________________________ |