[Mono-list] Problems with asynchronous web requests

Jason Boutwell jason.boutwell@comcast.net
16 Sep 2003 13:15:26 -0400


Has anyone else had a problem making asynchronous web requests using the
Mono runtime?

I tried the sample code on the MSDN site, which works fine on the MS
runtime, but fails on Mono. It appears that you can't make an
asynchronous Stream.BeginRead() call from within another BeginRead. Not
sure exactly. My knowledge of the .Net threading model is limited.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmakingasynchronousrequests.asp

I filed a report on bugzilla, but was just curious if anyone else had
noticed this behavior. It seems a fairly significant threading problem
to me.

Jason