ssize_t sctp_sendmsg(int sd,how can i provide association ID in it? I just learn about the sctp_sendmsg may be a wrapper of sendmsg.
const void *msg,
size_t len,
const struct sockaddr *to,
socklen_t tolen,
uint32_t ppid,
uint32_t flags,
uint16_t stream_no,
uint32_t pr_value,
uint32_t context);
Hi Feiyang,
this is a known bug^H^H^Hfeature of the Solaris SCTP implementation. You have to provide
the association ID in the sctp_sendmsg() call.
Best regards
Michael
On Apr 25, 2008, at 6:44 AM, 陈飞 wrote:
_______________________________________________hi guys.
i have a problem in solaris 10. I create a one-to-many sctp socket and call sctp_sendmsg to server. the server return from sctp_recvmsg, and send back the message. when the server send back message, i encounter a error:Address already in used.
i think this may be a bug. do you think so?
feiyang
2008-04-25
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion
Archive powered by MHonArc 2.6.19+.