Subject: Connection timeout value

From: [email-masked]
Date: Tue, 24 Feb 2004 17:37:19 -0500

When establishing a explicit association using connect, is there a way to specify the timeout value to wait in which to wait for a response.  Right now, I am using setsockopt to set SCTP_INITMSG where the sinit_max_init_timeo value is set to 5000.  However, immediately after sending the connect, if no answer is received I receive SCTP_CANT_STR_ASSOC immediately.  

Is there another way I should be specifying this timeout value?

> 
> From: Craig Rodrigues <[email-masked]>
> Date: 2004/02/24 Tue PM 04:12:27 EST
> To: [email-masked]
> CC: [email-masked]
> Subject: Re: One connect() call to multiple servers?
> 
> On Tue, Feb 24, 2004 at 09:10:32PM +0100, Michael Tuexen wrote:
> > >                                 _____
> > >      _____ -------------------->| B |
> > >      | A |                      -----
> > >      _____                      192.168.0.2
> > >      192.168.0.1
> > >          |                      _____
> > >          |--------------------->| C |
> > >                                 -----
> > >                                 192.168.0.3
> > >
> > >
> > >In A, I want to connect(192.168.0.2:1000, 192.168.0.3:1000).
> > >
> > This does NOT work. connect accepts only one address, connect_x
> > accepts multiple, but they must be on ONE host.
> > So you need two connect calls using the two sockets.
> 
> Well, this connect() call actually does work if you use
> OpenSS7 SCTP, since OpenSS7 SCTP allows you to pass in
> an array of addresses.  However, this does not
> conform to the SCTP socket API in the IETF drafts
> (which LKSCTP implements).
> 
> > This is host fail-over. This is not done by SCTP. An implementation
> > of RSerPool does this sort of failover.
> 
> If I don't want to use RSerPool, can I run a similar
> experiment, where B and C are two separate server programs located
> on the same host, but bound to two different network
> interfaces (but same port)?
> 
> By the way, for the Rserpool code available at
> http://www.sctp.de/rserpool.html, what SCTP implementation
> does it work with?  It doesn't seem to compile with LKSCTP.
> 
> -- 
> Craig Rodrigues        Distributed Systems and Logistics, Office 6/325A
> [email-masked]       BBN Technologies
> (617) 873-4725         Cambridge, MA
> 
>