Home Help Center

Possible bug in UdpEndpointI?

ngarimungarimu Member Michael NgarimuOrganization: PersonalProject: Trading Systems
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • ngarimungarimu Member Michael NgarimuOrganization: PersonalProject: Trading Systems
    Indeed you are correct... As is easy to see after I ran doxygen over the Ice source... Apologies for the diversion/distraction...
Sign In or Register to comment.