Results 1 to 1 of 1

Thread: Deploying app in windows - not able to send or receive any message trough TCP or UDP

  1. #1
    Join Date
    Sep 2011
    Qt products

    Default Re: Deploying app in windows - not able to send or receive any message trough TCP or

    Hi there,

    I am trying to deploy my app in win, but I am having some problems. In my computer, the app works great both inside and outside Qt Creator environment.
    I used the Dependency Walker and copied all the required libraries to the release folder (mingwm10.dll, qextserialport.dll, libgcc_s_dw2-1.dll, QtCore4.dll,
    QtGui4.dll and QtNetwork4.dll).

    I than copied the entire folder to another computer (windows also) that does not have Qt libraries to test the app.
    In the test computer, the application launches without any problem or warning, and is able to perform several tasks.
    However, I am not able to send or receive any message trough TCP(QTcpServer) or UDP (QUdpSocket). I double checked and the problem is not the firewall)

    What am I missing? Please, send some tips

    My machine runs win 7 (64 bits), and I am programming in Qt Creator 2.2.0, based on Qt 4.7.4 (32 bits).

    Added after 49 minutes:


    I finally got why. The problem was not on the deployment itself, but on the port number I was using. I was using the UDP port 56567, and there was no problem on the computer I was compiling the app, but this port was refused in the test computer. I just changed the UDP port to a lower number 1345 and know it works fine.

    Last edited by mrp; 2nd October 2011 at 20:49.

Similar Threads

  1. Problem with tcp - client receive message
    By gelman in forum Newbie
    Replies: 3
    Last Post: 25th August 2011, 15:35
  2. Replies: 6
    Last Post: 5th February 2011, 21:18
  3. How to send Image trough TCP/ip in Qt?
    By qtlinuxnewbie in forum Newbie
    Replies: 5
    Last Post: 27th April 2010, 04:21
  4. How to send and receive Email ??
    By wincry in forum Newbie
    Replies: 4
    Last Post: 18th October 2009, 18:51
  5. Send TCP message
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2008, 10:33

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.