Hello,
I'm trying a simple client and server program with sctplib, but I
encountered a strange behavior. The server takes a file as an input,
and sends the content of the file to the client with sctp_send() call.
Since the file size is about 2MB, the server calls sctp_send()
multiple times, each with about 128~256KB data depending on the
timing. I also checked the return value of each sctp_send() call, and
it was all SCTP_SUCCESS. But the problem is that the client can only
receive the first sctp chunk, and have no progress since then. That
is, on the client side, dataArriveNotif() callback is called only once
for the first chunk. I understand that the flow/congestion control can
delay the transmission, but it should eventually deliver them anyway.
However, in my case it's stuck and there's no progress at all. I would
appreciate any comment/help on this. If somebody can provide an
example of sending a large chunk, that would be great. I'm using
sctplib 1.0.7, and both the client and server machines are fedora core
4.
Thanks,
Sunghwan
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion
Archive powered by MHonArc 2.6.19+.