Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Microsoft.SPOT.Net error when joining UDP multicast group


  • Please log in to reply
1 reply to this topic

#1 testermax

testermax

    New Member

  • Members
  • Pip
  • 2 posts

Posted 12 June 2014 - 06:58 PM

Hello

 

Im using netduino 1 plus (fw 4.2) and I want to make a simple UDP multicast server.

This server is to publish some data to a UDP multicast Group, over a user defined Group address and a port.

 

When I try to run my program, Visual studio Compiler complains (please see the submitted screenshot).

 

Is there something Im doing wrong or can my task be solved in a simpler way?

 

 

 

 

Attached Files

  • Attached File  UDP.jpg   55.46KB   4 downloads


#2 tonofsteel

tonofsteel

    Member

  • Members
  • PipPip
  • 14 posts

Posted 15 June 2014 - 07:10 PM

What if you try: 

serverSocket.SetSocketOption(SocketOptionLevel.Udp, SocketOptionName.Broadcast, true);

or:

serverSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, true);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.