Thanks a lot for quick reply. Yes in that case ack seems only way to be sure.
cheers! On Sunday, April 27, 2014 12:25:57 PM UTC+5:30, Fedor Indutny wrote: > > Hi! > > I'm afraid that the only way to be sure is to get the acknowledgment > message > from the other party. status=0 in uv_write_cb doesn't really mean this. > > Cheers, > Fedor. > > > On Sun, Apr 27, 2014 at 10:50 AM, Ashish <[email protected]<javascript:> > > wrote: > >> >> >> In my server design, I've assume that if uv_write returns non-negative >> and libuv calls uv_write_cb with status non-negative, then receiver has >> received the message. >> Is my assumption correct? Is there any chance that despite of receiving >> these non-negative values, receiver won't receive message? >> >> >> (I happen to read on this group thread on zombie connections. It >> triggered me this doubt. Well, but I am asking in general. Not only in the >> perspective of zombie connections.) >> >> Tnx, >> Ashish >> >> -- >> You received this message because you are subscribed to the Google Groups >> "libuv" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at http://groups.google.com/group/libuv. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
