>-- Original Message -- >Subject: Re: [Mono-list] More info about Asyn Socket errors... >From: Gonzalo Paniagua Javier <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Date: 07 Jul 2003 14:38:53 +0200 > > >El lun, 07-07-2003 a las 14:29, Giuseppe Greco escribi�: >> Hi all, >> >> Yesterday I reported that I'm not able to >> send neither multicast nor broadcast datagram... >> >> Here are the error messages: >> >> Unhandled Exception: System.Net.Sockets.SocketException: Some sort of w32 >> error occured: 10040 > >That's a "Message too long" error code (i've just added the description >to CVS).
Yes, for test purposes, I'm trying to send a datagram that is larger than 8K, but I've also set the right buffer size by calling socket.SetSocketOption( SocketOptionLevel.Socket, SocketOptionName.SendBuffer, 65535); Note that even if I broadcast or multicast very small datagrams (just few bytes), I'm not able to get them when calling the BeginReceiveFrom() and EndReceiveFrom() methods pair - only unicast UDP datagrams are actually received. Gius_. > >-Gonzalo > > >_______________________________________________ >Mono-list maillist - [EMAIL PROTECTED] >http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
