2
1
I am developing a python messenger client but I feel this is more targeted to superuser than StackOverflow. My server application seems not to get the data sent from time to time, so I want to see what exactly is being sent each time over a specific port such as 42222. I tried wireshark but I am having trouble filtering data on this port specifically.
if you specify only the source port you won't be able to see replies, and if you only specify dest port you won't see requests – nos – 2009-09-05T21:45:17.257
@nos, ahhh, don't know what I was thinking... You're absolutely right. (To avoid confusion, I removed my earlier comment assuming "that only a local or remote port is to be monitored".) By the way: a similar display filter would read
tcp.port eq 42222 or udp.port eq 42222
(where things liketcp.dstport
would only show part of the communications, like @nos noted). – Arjan – 2009-09-06T14:38:41.460