<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/4/22 Michael Schnell <span dir="ltr"><<a href="mailto:mschnell@lumino.de" target="_blank">mschnell@lumino.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

As long as no event happens to one of the sites, the socket is esteemed connected by this site. This does not mean that the other site thinks the same<br></blockquote><div><br></div><div>OK, as connection status is a complex issue, I try to put it in another way: <br>

<br></div><div>1) fpsend() just pass data to the OS's socket layer without try to determine if the connection is still alive, right?<br><br></div><div>2) is it normal that in BLOCK mode, recv returns 0?  i.e. if I receive a 0 from fprecv(), I can say that the connection is closed by the other end (if there is no detectable socketerror), right?<br>

<br>Thanks. <br></div></div></div></div>