SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] one-to-many socket bug in solaris 10


Chronological Thread 
  • From: "陈飞" <feiyang21687 AT gmail.com>
  • To: "Michael Tuexen" <Michael.Tuexen AT micmac.franken.de>
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] one-to-many socket bug in solaris 10
  • Date: Fri, 25 Apr 2008 19:25:09 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=C885Jtm3x5gXtbs+iQ0zXkrfWNs4KpwCXml8NqkWtXOKCEhtFBUGjvBW2BecuTIP5I1HBBcIYKYtQ5V4GPMI1lzuMXv7ImCpTqRYtMT7Np+4dXPMiPKYyIMUyIj2ArUV2EF79/uSAx++OlvPoMN8jYceOxMX3xaJlIai9ZRgtVE=
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

HI Michael.
the sctp_sendmsg's prototype is:
ssize_t sctp_sendmsg(int sd,
 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);
how can i provide association ID in it? I just learn about the sctp_sendmsg may be a wrapper of sendmsg.
do you mean change the source code of sctp_sendmsg?


2008/4/25 Michael Tuexen <Michael.Tuexen AT micmac.franken.de>:
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+.

Top of page