SCTP Discussions

Text archives Help


RE: [SCTP-Discussion] SCTP for Windows


Chronological Thread 
  • From: Eyal Savion <eyalsavion AT hotmail.com>
  • To: Michael Tuexen <michael.tuexen AT micmac.franken.de>, Thomas Dreibholz <dreibh AT iem.uni-due.de>
  • Cc: "sctp-discussion AT sctp.de" <sctp-discussion AT sctp.de>, "discussion AT sctp.de" <discussion AT sctp.de>
  • Subject: RE: [SCTP-Discussion] SCTP for Windows
  • Date: Wed, 5 Jun 2013 13:30:13 +0000
  • Importance: Normal
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Dear All,

Thanks both of you !

Regards,
Eyal

> Subject: Re: [SCTP-Discussion] SCTP for Windows
> From: Michael.Tuexen AT micmac.franken.de
> Date: Tue, 4 Jun 2013 12:52:17 +0200
> CC: eyalsavion AT hotmail.com; sctp-discussion AT sctp.de; discussion AT sctp.de
> To: dreibh AT iem.uni-due.de
>
> On Jun 4, 2013, at 10:42 AM, Thomas Dreibholz wrote:
>
> > Dear Eyal,
> >
> > sorry for the late reply!
> >
> > If you have the option to develop on Ubuntu 12.04, I would recommend to get
> > started with sctplib using Ubuntu first. Most sctplib users are probably using
> > either Linux, FreeBSD, MacOS X or Solaris, so it is much easier to provide
> > help. Once you are familar with sctplib under Linux, it should be much easier
> > to also get it working under Windows, if necessary.
> If the focus is on the above mentioned OSes, you can use a kernel implementation,
> which is available.
> >
> > To use sctplib under Linux, download the packages sctplib and socketapi. The
> > versions provided should run fine under Ubuntu 12.04 (Precise Pangolin). The
> > only thing you need to note is that Linux already provides kernel SCTP. You
> > cannot use kernel SCTP and userland SCTP (i.e. sctplib) simultaneously.
> > However, what you can do is to tunnel userland SCTP over UDP. In this case, it
> > is important to know that UDP-tunnelled sctplib userland instances can *not*
> > communicate with non-UDP-tunnelled SCTP instances. As long as all of your test
> > programs run UDP-tunnelled sctplib, everything is fine.
> >
> > To install sctplib in UDP-tunneled mode, unpack sctplib and install it as
> > follows:
> > cd sctplib-<VERSION>
> > ./configure --enable-sctp-over-udp
> > make
> > sudo make install
> >
> > Then, install socketapi the same way. Note, that it also needs an option for
> > UDP-tunnelled SCTP:
> > cd socketapi-<VERSION>
> > ./configure --enable-sctp-over-udp
> > make
> > sudo make install
> >
> > You can have a look into the examples directories of socketapi and sctplib to
> > find test programs. Also have a look into the documentation.
> >
> > When developing new software, I would recommend to base it on the socket API.
> > The socket API of sctplib (in the socketapi package) is mostly RFC 6458
> > compliant, i.e. except for the "ext_" prefix of the functions, you can work
> > with userland SCTP in the same way as with kernel SCTP. This particularly also
> > includes calls like poll() and select()! If you decide in the future to also
> > use your programs with kernel SCTP implementations, it is very easy to compile
> > your program to do so (by adding a few #defines, provided in ext_socket.h).
> >
> > For an example on how to write SCTP software that supports kernel as well as
> > userland SCTP (configurable by compile-time option), see my RSerPool
> > implementation rsplib at http://www.iem.uni-due.de/~dreibh/rserpool/index.html
> > .
> >
> > However, if you want to use sctplib under Window, there is unfortunately no
> > socketapi port yet. You can then either use the callback API of sctplib
> > itself, or port socketapi to Windows. This should not be too difficult, but I
> > have never tried it and no experience with Windows programming.
> An alternative might he the usrsctp stack which supports windows and provides
> an API similar to the socket API. It is available from
> http://code.google.com/p/sctp-refimpl/
> in the directory KERN/usrsctp
>
> Best regards
> Michael
> >
> >
> > Tirsdag 28. mai 2013 12.57.08 skrev Eyal Savion:
> >> Dear Thomas,
> >> Thanks for your clarification - It was happened by mistake.
> >> Anyway I'm willing to try and use the sctplib, I have the option to develop
> >> it upon Win7, or upon Ubunto 12.04 precise Linux OS machineIs the sctplib
> >> can work reliably with one of these OS ? Last time you wrote me only the
> >> callback API is relevant for windows OS and the socketAPI only for linux ,
> >> what is the API ? I downloaded sctplib-1.0.11, socketapi-2.2.5, stt-0.9.6
> >> and I read carefully the README.win32 file, How can I use he callback API
> >> for windows? What are your recommendations ?
> >> Looking forward to your advice,
> >> Thanks,Eyal
> >
> > --
> > Best regards / Mit freundlichen Grüßen / Med vennlig hilsen
> >
> > =======================================================================
> > Thomas Dreibholz
> >
> > Simula Research Laboratory
> > Simula Innovation AS, Network Systems Group
> > Visiting address: Martin Linges vei 17, 1364 Fornebu, Norway
> > Mailing address: P.O.Box 134, 1325 Lysaker, Norway
> > -----------------------------------------------------------------------
> > E-Mail: dreibh AT simula.no
> > Homepage: http://simula.no/people/dreibh
> > =======================================================================
> > _______________________________________________
> > 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