Home All Groups Group Topic Archive Search About

Compact Framework Sockets Question

Author
21 Mar 2007 8:11 PM
Clement
I don't see a Compact Framework newsgroup so I am just going to post it here.

We are porting a .NET 2.0 program to the compact framework and the
application involves the sending and receiving of multicast packets. We
noticed that even though the property Socket.MulticastLoopback exists in
object browser under "System [Compact Framework]", it complains at compile
time that

'System.Net.Sockets.Socket' does not contain a definition for
'MulticastLoopback'

According to the MSDN documentation online, this property is supported by
the compact framework and we are using the latest service pack of CF2.0.

Any ideas? If this property is indeed not included in the CF, how might we
configure the socket so that (we have already tried

sock.SetSocketOption(SocketOptionLevel.IPv4,
SocketOptionName.MulticastLoopback, 1);

which throws during runtime) we can allow multicast packets to loop back?

Author
22 Mar 2007 5:29 PM
Rad [Visual C# MVP]
On Wed, 21 Mar 2007 13:11:08 -0700, Clement wrote:

Show quote
> I don't see a Compact Framework newsgroup so I am just going to post it here.
>
> We are porting a .NET 2.0 program to the compact framework and the
> application involves the sending and receiving of multicast packets. We
> noticed that even though the property Socket.MulticastLoopback exists in
> object browser under "System [Compact Framework]", it complains at compile
> time that
>
> 'System.Net.Sockets.Socket' does not contain a definition for
> 'MulticastLoopback'
>
> According to the MSDN documentation online, this property is supported by
> the compact framework and we are using the latest service pack of CF2.0.
>
> Any ideas? If this property is indeed not included in the CF, how might we
> configure the socket so that (we have already tried
>
> sock.SetSocketOption(SocketOptionLevel.IPv4,
> SocketOptionName.MulticastLoopback, 1);
>
> which throws during runtime) we can allow multicast packets to loop back?

Actually, the group you're looking for is this one:

microsoft.public.dotnet.framework.compactframework

Author
22 Mar 2007 6:03 PM
Clement
I don't see it on the web newsgroup browser, could it be that it is not a
managed newsgroup?

Show quote
"Rad [Visual C# MVP]" wrote:

> On Wed, 21 Mar 2007 13:11:08 -0700, Clement wrote:
>
> > I don't see a Compact Framework newsgroup so I am just going to post it here.
> >
> > We are porting a .NET 2.0 program to the compact framework and the
> > application involves the sending and receiving of multicast packets. We
> > noticed that even though the property Socket.MulticastLoopback exists in
> > object browser under "System [Compact Framework]", it complains at compile
> > time that
> >
> > 'System.Net.Sockets.Socket' does not contain a definition for
> > 'MulticastLoopback'
> >
> > According to the MSDN documentation online, this property is supported by
> > the compact framework and we are using the latest service pack of CF2.0.
> >
> > Any ideas? If this property is indeed not included in the CF, how might we
> > configure the socket so that (we have already tried
> >
> > sock.SetSocketOption(SocketOptionLevel.IPv4,
> > SocketOptionName.MulticastLoopback, 1);
> >
> > which throws during runtime) we can allow multicast packets to loop back?
>
> Actually, the group you're looking for is this one:
>
> microsoft.public.dotnet.framework.compactframework
>
> --
> Bits.Bytes
> http://bytes.thinkersroom.com
>
Author
23 Mar 2007 5:11 AM
RobinS
If you mean managed by Microsoft, that may be true. I have no way of
telling, since I don't have whatever subscription you have that means
Microsoft will eventually answer your questions in the managed newsgroups.
;-)

Robin S.
-----------------
Show quote
"Clement" <Clem***@discussions.microsoft.com> wrote in message
news:894C900C-7C02-42C7-A4BE-22DE1530E118@microsoft.com...
>I don't see it on the web newsgroup browser, could it be that it is not a
> managed newsgroup?
>
> "Rad [Visual C# MVP]" wrote:
>
>> On Wed, 21 Mar 2007 13:11:08 -0700, Clement wrote:
>>
>> > I don't see a Compact Framework newsgroup so I am just going to post
>> > it here.
>> >
>> > We are porting a .NET 2.0 program to the compact framework and the
>> > application involves the sending and receiving of multicast packets.
>> > We
>> > noticed that even though the property Socket.MulticastLoopback exists
>> > in
>> > object browser under "System [Compact Framework]", it complains at
>> > compile
>> > time that
>> >
>> > 'System.Net.Sockets.Socket' does not contain a definition for
>> > 'MulticastLoopback'
>> >
>> > According to the MSDN documentation online, this property is supported
>> > by
>> > the compact framework and we are using the latest service pack of
>> > CF2.0.
>> >
>> > Any ideas? If this property is indeed not included in the CF, how
>> > might we
>> > configure the socket so that (we have already tried
>> >
>> > sock.SetSocketOption(SocketOptionLevel.IPv4,
>> > SocketOptionName.MulticastLoopback, 1);
>> >
>> > which throws during runtime) we can allow multicast packets to loop
>> > back?
>>
>> Actually, the group you're looking for is this one:
>>
>> microsoft.public.dotnet.framework.compactframework
>>
>> --
>> Bits.Bytes
>> http://bytes.thinkersroom.com
>>

AddThis Social Bookmark Button