sctp chunked messages

Anders Nygren anders.nygren@REDACTED
Wed Aug 19 23:06:38 CEST 2009


Hi
I am having a problem with chunked messages. When I try to send a
message that is ~2kByte, it gets split into two chunks. But gen_sctp
does not reassemble the chunks and only delivers the last chunk to
my application.
I have attached a simple test case to demonstrate the problem.

To run
Machine A:
sctp_err:server(IP,Port).

Machine B:
sctp_err:client(IP,Port).

I dont know if this is related but sometimes I also receive a
{sctp_error, enoent} before the the #sctp_sndrcvinfo with the second
chunk.

This is using
OTP R13B01
Between two machines running Ubuntu

uname -a
Linux curso-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25
00:28:35 UTC 2009 i686 GNU/Linux

 uname -a
Linux glr-desktop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51
UTC 2009 i686 GNU/Linux

/Anders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sctp_err.erl
Type: application/octet-stream
Size: 1170 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090819/d4b672c3/attachment.obj>


More information about the erlang-bugs mailing list