Multicast sender in qt 4.5.6



  • HI frineds i am trying to develop a multicast sender application in Qt 4.5.1 . I browsed the internet and found multicast sender example code. But this code uses the code
    @ udpSocket->setSocketOption(QAbstractSocket::MulticastTtlOption, newTtl);@ which is not available in qt 4.5.1 . The MulticastTtlOption is available only in qt 4.8 and above. So can anybody tell me how to send multicast in lower versions of Qt. Thank u all in advance


  • Lifetime Qt Champion

    Hi,

    If you don't have the choice of upgrading your Qt version (which is pretty old by the way) You can try to back port the needed classes or use the system specific socket API.



  • [quote author="SGaist" date="1391464118"]Hi,

    If you don't have the choice of upgrading your Qt version (which is pretty old by the way) You can try to back port the needed classes or use the system specific socket API.

    [/quote]

    Hi SGaist Thank u for ur reply.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.