[Mono-list] Asynchronous socket callbacks do not work in Mono/Linux

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Thu Feb 10 00:29:26 EST 2011

On Wed, 2011-02-09 at 03:24 -0800, Stifu wrote:
> Hi,
> It would probably help to file a bug report on this.
> alexk wrote:
> > 
> > Hello,
> > 
> > I'm exploring porting a .NET C# application from Windows to Linux using
> > Mono. The problem I'm stuck with is that asynchronous TCP socket calls do
> > not work. This means that I can send data with no problems but I'm only
> > seem to be able to receive the very first response from the socket (via
> > Socket.BeginReceive()). The next BeginReceive() puts the thread into a
> > wait state.
> > 
> > Please see this link: http://tinyurl.com/6gudvmz.
> > It contains more information and links to small standalone server and
> > client programs reproducing the problem.

I have just fixed this problem. It affected 2.6.x and 2.8.x when the
BeginReceive/BeginSend that take an IList<ArraySegment> are used. The
mono-2-10 and master branches are not affected.

Btw, check out http://mono-project.com/Bugs.


More information about the Mono-list mailing list