Compact Framework Sockets Question

G

Guest

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?
 
R

Rad [Visual C# MVP]

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
 
G

Guest

I don't see it on the web newsgroup browser, could it be that it is not a
managed newsgroup?

Rad said:
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
 
R

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.
-----------------
Clement said:
I don't see it on the web newsgroup browser, could it be that it is not a
managed newsgroup?

Rad said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top