Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QTcpSocket and using Wireshark

QTcpSocket and using Wireshark

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 317 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I have two processes that using QTcpSocket to send JSON data to each other, presently both processes are running on the same system.

    I have set-up Wireshark to capture the Loopback:lo0, when I start the processes communicating I can see that instantly Wireshark shows quite a few packets, but I'm not seeing any of the expected data.

    I'm using Qt Creator to debug and I can see that the process receiving the packet sent by the other does receive a valid packet and the content is as I would expect, but I don't see this data showing in Wireshark. Obviously I'm doing something wrong, can anyone help me?

    I've looked at the traffic in Wireshark which starts when I start the processes and stops when I terminate debugging. The length field in the packets looks correct, but I don't see anything that matches what I'm receiving, it just looks like the packets are empty.

    Kind Regards,
    Sy

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved