Hi,

I want to use QUdpScoket Multicast ,but readyRead() signal don't emit.
Confirming that datagrams can be received at WireShark and SocketDebbugger.
Firewall is Invalidation. Bind, connect, joinMulticast is true. I never get socket errorString.
But readyRead() is don't emit. Why ?

Qt Code:
  1. void Udp::fnUdpSetting(QString localIP,quint16 multicastPort,QString multicastIP)
  2. {
  3. m_pUdpSockRecv = new QUdpSocket(this);
  4.  
  5.  
  6. connect(m_pUdpSockRecv, SIGNAL( readyRead() ), this, SLOT( fnUdpRecvData() ));
  7.  
  8. if( m_pUdpSockRecv->bind( QHostAddress( localIP ) , multicastPort, QUdpSocket::DefaultForPlatform) ){
  9. if( m_pUdpSockRecv->joinMulticastGroup( QHostAddress( multicastIP ) )) {
  10. qDebug() << "Connection Success";
  11. } else {
  12. qDebug() << "Join Error";
  13. }
  14. }
  15. else {
  16. qDebug() << "Bind Error";
  17. }
  18.  
  19. }
To copy to clipboard, switch view to plain text mode 


The IP and Port I'm using are
localIP: 192.168.0.122
multicastPort: 49871
multicastIP 239.0.0.15


I don't get any errors or anything, so I have no idea.
Can someone help me?
Thanks.