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,
George
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to