From: Vlad Y. <vla...@hp...> - 2009-04-24 12:31:20
|
Hello In the future, please address these queries to lin...@vg... or lks...@li.... Padmalochan Moharana wrote: > Hi Sir, > > As per the Spec > > The SCTP user at an endpoint should use the ASSOCIATE primitive to > initialize an SCTP association to another SCTP endpoint. > > But implementation point of view one end should be server to accept > the connection request from client. So endpoint implemented as client > can not accept connection request from server.So please clarify my > bellow doubt so that i can handle these situation in my application First of all, if you are writing an application, you should really be looking at the SCTP API specification. > > Does the SCTP allow for an endpoint to act as both client and server? Yes. You have to use 1-to-many api for this. In this case you have a single socket that will accept new incoming associations and can request new outgoing associations. > If so, does it have info about how to handle race conditions, since > either side could initiate association? > The protocol handles the collision case. -vlad > Br, > Padmalochan > |