Results 1 to 4 of 4

Thread: problem in communication between ppc and normal pc using udpsocket

  1. #1
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    46
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default problem in communication between ppc and normal pc using udpsocket

    Hi
    I am runnning an application on a ppc target and tat has to communicate with another application on a normal pc(intel board) using udp socket. The sender on ppc side is broadcasting the data but the receiver is not receiving any message. kindly suggest anything
    Ashish
    Ashish Kumar Saryar

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: problem in communication between ppc and normal pc using udpsocket

    Here's a suggestion: Explain how this has anything to do with Qt, what you are actually doing, and why you think the message is being sent but not received. At the moment it could be anything from a network air gap through to good old-fashioned carbon-based failure.

  3. #3
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    46
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem in communication between ppc and normal pc using udpsocket

    I am printing the numbers of bytes written by qudpsocket.

    And I have also done another experiment in which both sender and receiver and running on the ppc board. That time communication is working..

    Problem comes when communication happing with PPC and normal PC.
    Ashish Kumar Saryar

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: problem in communication between ppc and normal pc using udpsocket

    I assume the sending application is a Qt application on the Power PC board.
    The Power PC machine can talk to itself over a loop back interface, which shows that an IP stack is functioning.
    You assume the bytes are making it to the wire because the QUdpSocket says they were sent (you do know that UDP is unreliable).

    Have you any evidence that there are bytes reaching the wire? Wireshark or similar dumps? Do these dumps make sense, have the correct addresses etc.?
    Is the receiver a Qt program too?
    Could there be byte-order issues causing your receiver to ignore message sit is actually receiving?

Similar Threads

  1. Broadcast string with udpsocket
    By wirasto in forum Qt Programming
    Replies: 5
    Last Post: 23rd September 2009, 11:13
  2. qextersial communication problem
    By sun in forum Qt Programming
    Replies: 0
    Last Post: 13th February 2009, 12:06
  3. UdpSocket bind warning--pls have a look
    By swamyonline in forum Qt Programming
    Replies: 0
    Last Post: 28th August 2008, 11:42
  4. serial communication problem
    By Tavit in forum Qt Programming
    Replies: 3
    Last Post: 31st May 2008, 12:56
  5. How to destroy a UdpSocket completely
    By ms20020048 in forum Qt Programming
    Replies: 2
    Last Post: 23rd October 2006, 19:01

Bookmarks

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.