Menu

Socket problems at starting the BACnet sharp

Help
2011-07-20
2012-09-20
  • SoundHarvester

    SoundHarvester - 2011-07-20

    Good morning fellas,

    or whatever timezone u currently are.

    I have downloaded your wonderfull bacsharp project and opened it with Visual
    Studio 2010. It starts and compiles without any problems but when I start the
    "Send Who is" it finishes at the line 129 where the UdpRecClient should join
    the Multicastgroup of address 224.0.0.1. The Error description says the
    following:

    "System.Net.Sockets.SocketException: A socket operation was attempted to an
    unreachable host

    at System.Net.Sockets.Socket.setMulticastOption(SocketOptionName optionName,
    MulticastOption MR)"

    But the curious thing that it works from time to time.

    Does it have something to do with my network settings of router and so on?

    I have setted up a device with Bacnet tools, which I try to find.

    I apreciate any hints, thanks a lot.

    Greetings Sebastian

     
  • SoundHarvester

    SoundHarvester - 2011-07-20

    Hello,

    sorry for wasting your time. I think I solved the problem.

    I have had setted the wrong IP for the Mulitcastgroup.

    There was 224.0.0.1 instead of 224.0.0.2. The last one works perfect and I am
    finding my device.

    I dunno how this was setted.

    Greetings Sebastian

     

Log in to post a comment.