[Spread-users] spread question...

Taj Khattra taj.khattra at gmail.com
Thu Oct 21 13:59:10 EDT 2004


On Thu, 21 Oct 2004 11:02:30 -0600, Luc I. Suryo <luc.suryo at cabelas.com> wrote:
> [Thu 21 Oct 2004 11:59:17] DL_send: delaying after failure in send to 10.10.107.255, ret is -1
> [Thu 21 Oct 2004 11:59:17] DL_send: element[0]: 32 bytes
> [Thu 21 Oct 2004 11:59:17] DL_send: element[1]: 8 bytes
> [Thu 21 Oct 2004 11:59:17] DL_send: element[2]: 12 bytes
> [Thu 21 Oct 2004 11:59:17] DL_send: error: Message too long

weird... seems like message is too big for sendto() or sendmsg() , but
32+8+12=52 sure doesn't seem too big?

btw, i noticed that the call to select() in DL_send() doesn't
initialize the struct timeval before each call - on some platforms the
struct timeval is modified by select().  e.g. on linux it is modified
to indicate how much time was left and in this case, after the first
call, would be set to 0 for all subsequent calls, which was probably
not intended...




More information about the Spread-users mailing list