- From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
- To: "Heywood, Simon " <Simon.Heywood AT thalesgroup.com>
- Cc: "SCTP discussion (E-mail)" <discussion AT sctp.de>
- Subject: Re: [SCTP-Discussion] ext_sendmsg() fails to send data
- Date: Wed Jul 7 19:27:02 2004
- List-id: SCTP Discussions <discussion.sctp.de>
If you send DATA which is too large the send() call would
not return an error. It is a limitation of the implementation.
We should be able to pass some part of user data to the
upper layer in case of running out of receiver buffer space but
we are not. But I think this is not the problem in your case.
It is just that you quit the client before it has finished its
job.
Best regards
Michael
On Jul 7, 2004, at 5:06 PM, Heywood, Simon wrote:
Michael Tuexen wrote:
Just a simple question: What message size are you trying to send?
The buffer contains 1300 bytes, although presumably the SCTP and IP
headers
get added to this.
The sctplib does not support the partial delivery API, so
it can not handle user-data larger than the receiver window.
I'm checking that the return value of ext_sendmsg() is the same as the
buffer size. Are you saying that this wouldn't return a smaller value
if the
user data was too large?
S.
Archive powered by MHonArc 2.6.19+.