[Mono-list] Async Sockets with List<ArraySegment<byte>> -- Does it work?

Miguel de Icaza miguel at novell.com
Fri May 30 18:34:25 EDT 2008


Hello,

    It should have worked, but your test code does crash for me.

    The crash happens because on the async callback we are passing a
NULL buffer to the routine;   I have no idea why this happens, and am
not familiar with this code.

     I filed the bug here:

	https://bugzilla.novell.com/show_bug.cgi?id=396091

Miguel.

On Tue, 2008-05-27 at 15:19 -0700, Ken98045 wrote:
> Are async sockets with List<ArraySegment<byte>> supposed to work?  I am
> working with Mono on Windows (in prep for a port).  I can get BeginReceive
> to work using buffers, but not with List<ArraySegment<byte>>.  Basically at
> some point before the callback function is called I'm getting an Access
> Violation exception. 
> 
> I have written about the simplest possible test code, and haven't had any
> luck.  If this had not been implement I would think I'd get a "Not
> Implemented" exception when BeginReceive was called.
> 
> The same problem occurs with BeginSend.
> 
> If necessary I can post the test source code, but I thought I'd ask first.


More information about the Mono-list mailing list