Quoting Łeandro Sales: | 2007/10/25, Ian McDonald <ian.mcdonald@xxxxxxxxxxx>: | > On 10/25/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote: | > > /* something like (but do have a look at the paraslash sources) | > > do { | > > wrote = send (socket, (const char *) buf + bytes_written, | > > count - bytes_written, MSG_NOSIGNAL); | > > } while (wrote < 0 && errno == EAGAIN); | > > */ | > > | > > | > You can also look at iperf code, ttcp code etc. | > -- | > Web1: http://wand.net.nz/~iam4/ | > Web2: http://www.jandi.co.nz | > Blog: http://iansblog.jandi.co.nz | > | | Did you implemented a similar solution in the code that you sent to | me? I didn't have enough time to check your code because I was busy on | the ccid-4 patches. | Check * ttcp (all versions, Arnaldo's, Ian's, or mine) * iperf http://www.erg.abdn.ac.uk/users/gerrit/dccp/apps/#iperf * but most of all: paraslash - http://www.systemlinux.org/~maan/paraslash/ - get http://www.systemlinux.org/~maan/paraslash/versions/paraslash-git.tar.bz2 - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html