Reputation: 15548
Here is my code: http://pastebin.com/znrwaT0n
When you press enter it should send a usual HTTP GET request to www.google.com.
As you can see it also successfully receives the HTML-code.
But for some reason Wireshark and other network monitors don't detect that it was sent as HTTP request, they just mark it as TCP (while other HTTP requets get marked as "HTTP") and the data doesn't seem to be readable to humans.
Could you explain me why this happens, what the side-effects are and how I could avoid it?
Upvotes: 0
Views: 419
Reputation: 3541
May be the port is not '80'. If so, set the Wireshark to decode the Transport layer of capture as HTTP (both on the receiving and sending side)
Upvotes: 1