For example, I need to know how many bytes are received / sent (tcp) from the host xxx.xxx.xxx.xxx connecting to localhost: port. How, where to start, where to dig?

  • I apologize for not clarifying. You need to write your own program that would consider traffic. While using ipfw for Win, I create the necessary rules and read and analyze the output of the ipfw show from my program. But I would like the right decision, without crutches. - ikari81
  • What language do you want to write? I wrote similar to Delphi if I need to throw off the sources. - vdk company
  • I basically do not care with, with #, delphi. Or do you have a pure implementation on the components? - ikari81

1 answer 1

The first thing that comes to mind is tcpdump.