[sctp-dev] (no subject)
Michal Lefler
michal at traffixsystems.com
Wed Feb 29 01:15:30 PST 2012
Hi all.
We ran into the following problem.
Whenever we try to send sctp messages which are longer than 1024b the
messages are automatically splitted into two smaller messages.
The problem is that both messages are marked as "COMPLETED".
For that reason, the receiving side sees each long message as two
messages.
The first message is incomplete, while the second one is malformed.
We first suspected the MTU, but setting the MTU to a small value
resulted with a nice split
(first message with an unset "COMPLETED", and the second one is marked
as "COMPLETED", as expected).
We tried to handle the "COMPLETED" flag manually, but trying to set
"SctpStandardSocketOption.SCTP_EXPLICIT_COMPLETE" to true
caused a "Protocol not supported" exception.
Any idea what the problem can be and how we can solve it?
We are using Java 1.6 u23, with the SCTP to Java 6 patch.
Thanks,
Michal.
More information about the sctp-dev
mailing list