[Mono-devel-list] Socket.Accept doesn't do what it says in the docs

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jun 22 05:12:51 EDT 2004


El lun, 21-06-2004 a las 14:58, iain escribió:
> On Sun, 2004-06-20 at 21:51 +0200, Gonzalo Paniagua Javier wrote:
> > El sáb, 19-06-2004 a las 12:06, iain escribió:
> > > The docs for Socket.Accept say that if Socket.Bloncking is false, then
> > > the accept will not block and return null, but in reality it throws an
> > > exception saying that "call will block on noon-blocking socket" (or
> > > something to that effect, I don't have it in front of me at the moment).
> > > 
> > > Which is the right behaviour? I'm kinda hoping its the docs and that
> > > currently Socket.Accept is broken, cos that'd be very nice for my app,
> > > but hey ho if its working the way its supposed to.
> > > 
> > > Anyone know?
> > 
> > Fixed in CVS. I removed this by mistake.
> 
> >From the changelog entry I've got the latest source with your fix in it,
> but it doesn't seem to be working here yet.

Then, please, file a bug report with your test case as mine worked.

-Gonzalo





More information about the Mono-devel-list mailing list