[Mono-bugs] [Bug 494275] send zero-sized buffer to Socket doesn't send empty tcp packet

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 20 23:57:13 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=494275

User gonzalo at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=494275#c5


Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #5 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-04-20 21:57:12 MDT ---
As I mentioned before, the correct way of checking if you're still connected is
something like:
   if (client.Poll (0, SelectMode.SelectRead) && socket.Available == 0) {
            // the server disconnected
   }

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list