Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User candinico's Avatar
    Join Date
    Dec 2010
    Posts
    12
    Hi all,
    i'm still writing a QT application ( a listener ) : i have some problems on a QUdpSocket call.
    My environment

    a) WIn XP with firewall disabled.
    b) a external source emitting UDP datagrams ( via WiFi connection)

    this piece of code

    udpSocket = new QUdpSocket(this);
    QString sAdd = "211.0.0.1";
    QHostAddress address(sAdd);
    udpSocket->bind(address,3400)
    connect(udpSocket, SIGNAL(readyRead()),
    this, SLOT(readPendingDatagrams()));

    fail! ( in windows but not in Mac), Any suggestions?

    Thanks in advance

    Nico

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    check udpSocket->errorString() for an error description.

  3. #3
    Registered User candinico's Avatar
    Join Date
    Dec 2010
    Posts
    12
    bind() was not called in QAbstractSocket::UnconnectedState , but the SIGNAL in connect is ReadyRead (?) We have tried to change the signal in connected() with the same result.

Similar Threads

  1. Nokia 6600 Bluetooth Problems on Windows 2003 server
    By sid_dubai in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-05-17, 04:32
  2. Replies: 16
    Last Post: 2007-01-09, 21:20
  3. Problems with the detection of phones on Windows 2000
    By mgarstecki in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2006-10-19, 13:40
  4. Installation problems of Nokia Tool Kit 2.0 on Win98/Windows 2000
    By Nokia_Archived in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-05-15, 19:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved