Date: Thu, 06 Jul 2006 10:18:12 +0900 From: "George V. Neville-Neil" <gnn@neville-neil.com> To: Randall Stewart <rrs@cisco.com> Cc: freebsd-net@freebsd.org, Marcin Jessa <lists@yazzy.org> Subject: Re: SCTP Message-ID: <m2wtaril9n.wl%gnn@neville-neil.com> In-Reply-To: <44A90031.9010308@cisco.com> References: <44A552FA.2030302@cisco.com> <m2u061ogp3.wl%gnn@neville-neil.com> <20060703094806.689f33ae@marcin> <44A90031.9010308@cisco.com>
index | next in thread | previous in thread | raw e-mail
At Mon, 03 Jul 2006 07:32:01 -0400, randall wrote: > > Bascially there are two socket models that > can be used by SCTP.. > > sd = socket(AF_INETX, SOCK_STREAM, IPPROTO_SCTP); > > or > > sd = socket(AF_INETX, SOCK_SEQPACKET, IPPROTO_SCTP); > > The first one will then look JUST like TCP... aka you > can take ANY TCP app you have and it will work... only > thing you might need to do is convert TCP_MAXSEG > and TCP_NODELAY socket option calls to ones with SCTP > instead... > > This is how I quickly converted several fun utilities.. > > The second model looks like UDP more or less. You > still need to do a listen() but other than that > you can just send and recv data... > > Now George also convert his packet pounder program > (don't remember the name.. Geroge?)... and > if you want I can place a tar-ball of some app > programs up that I use for testing.. but of course ..sigh.. there > is no documenation .. so it might not be to useful :-0 > > Let me knof if you want a tarball up on sctp.org of app code :-0 > Even without docs it couldn't hurt. I already sent the pointer to my version of NetPIPE (the pounder you mention) and their new release should have SCTP in it by default. Later, Georgehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2wtaril9n.wl%gnn>
