Hi, I want to ask that Solaris10 provide any support for SCTP statistics (like number of chunks transmitted,received etc.)as mentioned in RFC 3873. If yes kindly tell me where i can find these API's. One more thing i would like to ask. I want to use sctp_opt_info API for getting AssocId for a particular association.
What Am I trying to do? --> 1.I have opened a one-to-many SCTP socket (socket descriptor ?sd?) with option SOCK_SEQPACKET. 2.Now I connected this socket to 2 different destination addresses. 3.Now when I am receiving some packet from socket ?sd? I need to differentiate that from which destination packet is coming. So, I need 2 assoc ids. For getting assoc id I used attached code snippet, but I am not able to get the assoc id. I am getting error EINVAL from the sctp_optinfo call. I have attached my code snippet with this mail. Can you please help me and tell that what mistake I am doing. I will be grateful towards you if you can help me out as I am stuck somewhere between. Thanks, Akhil -- This message posted from opensolaris.org