Archived

This forum has been archived. Please start a new discussion on GitHub.

Possible bug in UdpEndpointI?

While browsing through the Ice (3.3.1 and 3.4b) source to investigate my earlier issue regarding "Multicast TTL" I found came across the transceiver method on UdpEndpointI. The transceiver method instantiates a UdpTransceiver.

The call to the UdpTransceiver constructor (from UdpEndpointI::transceiver()) is passing _connect from the endpoint as the last argument of the constructor. However, the constructor formal argument list of the UdpTransceiver shows the last argument to be the multicast TTL!!

Will someone from ZeroC please confirm whether or not this is a bug?

Comments

  • benoit
    benoit Rennes, France
    I don't think there's a bug here, there are two UdpTransceiver constructors and the correct one is used from the UdpEndpoint transceiver method.

    Cheers,
    Benoit.
  • Indeed you are correct... As is easy to see after I ran doxygen over the Ice source... Apologies for the diversion/distraction...