Reputation: 11
I am trying to determine how much network overhead there is for web services. From research I know that UDP has a header size of 24 bytes plus the data. So if I wanted to send the message foo over UDP to listener the packet would be 27 bytes. If I wanted to call a method on a web service and pass it foo how much more data gets added to the packet?
Upvotes: 1
Views: 472
Reputation: 1776
On linux, you could use iftop for that. Suppose your webservice listens on udp port 9999, then following command tells you how many bytes pass over the network:
iftop -nN -f "port 9999 and udp"
If you're using windows, I guess wireshark could help to do the counting.
Upvotes: 1