SCTP Discussions

Text archives Help


[SCTP-Discussion] sctp_send() with large data


Chronological Thread 
  • From: "Sunghwan Ihm" <sihm AT cs.princeton.edu>
  • To: sctp-discussion AT sctp.de
  • Subject: [SCTP-Discussion] sctp_send() with large data
  • Date: Sat, 18 Oct 2008 17:36:47 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=vMBkxx0vEeXk89Y0p64S0NfxAa17EfwkAToaU6KAPFs7T4ESlCe8MvYwsFH29b+nkC KfM+0iEpZHhPVS4v/v16mm07h6jv5rfgbZaZzFbqKUtAmqbyxngs5d6Z4O0LI3nWrwJj kSHex64MXvpZnMzn4Zm9oq/4ESzxU8NUnyntY=
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

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




Archive powered by MHonArc 2.6.19+.

Top of page