SCTP Discussions

Text archives Help


[SCTP-Discussion] Using sctp_setPrimary(...)


Chronological Thread 
  • From: Sébastien Edel <s.edel AT nmg.fr>
  • To: "SCTP mailing list" <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Using sctp_setPrimary(...)
  • Date: Thu Aug 23 17:26:01 2001
  • Importance: Normal
  • List-id: SCTP Discussions <discussion.sctp.de>

hello all

my configuration is:

client with 2 IP address (pre14 version)
172.16.1.212 and 172.16.1.213

server with1 IP address: (pre13 version)
172.16.1.204

The three (cards) are connected an a Switch

I run the server and wait for an association

I run the client and do the association:

when I call sctp_registerInstance(...);, the localAddressList is:
unsigned char localAddressList[2][46];

strcpy ((char*) localAddressList[0], "172.16.1.212"); //my two
client
strcpy ((char*) localAddressList[1], "172.16.1.213"); //IP address

when I call sctp_setPrimary(assocId, 1); //to choise IP address
172.16.1.213
return value is 1 (an error!!!)

I verify the value of numberOfAddress in struct SCTP_Association_Status is
equal to 1
(one IP address)
primaryDestinationAddress is 172.16.1.212
primaryAddressIndex is 0

I do that with the server and with the client, and I always had bad
result!!!

what is the problem, is it a bug?

thanks for answer
regards Sébastien





Archive powered by MHonArc 2.6.19+.

Top of page