Kacheong Poon wrote: > Roland Mainz wrote: > > Is the combination of |SOCK_SEQPACKET|+|IPPROTO_SCTP| currently > > supported in Solaris 11/B61 ? > > Yes.
Is there any public server in the internet which could be used for testing (AFAIK www.sctp.org/80 only supports |SOCK_STREAM|+|IPPROTO_SCTP|) ? > > I tried a simple hack for testing and > > replaced... > > -- snip -- > > hint.ai_socktype = SOCK_STREAM; > > hint.ai_protocol = IPPROTO_SCTP; > > -- snip -- > > ... with ... > > -- snip -- > > hint.ai_socktype = SOCK_SEQPACKET; > > hint.ai_protocol = IPPROTO_SCTP; > > -- snip -- > > ... and the code refuses to work. Does anyone have an idea what may be > > wrong in this case ? > > Note that the two styles of SCTP socket programming are quite > different. So a piece of code written for the 1-1 style > probably will not work in the 1-N style. A simple |socket()|/|connect()| should work, right ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ networking-discuss mailing list [email protected]
