Add a C/C++ library to access tcpreplay etc.
As per http://stackoverflow.com/questions/26034768/how-to-add-tcpreplay-as-a-library-in-c-language-or-any-other-programming-languag
hi @fklassen any progress on the topic?
i have seen there's some progress with tcpreplay_api.h but i cannot find examples how to use it after compiling it.
We shelved this because there was no interest. Do you have an application? If so, I'll assign to a future release.
Well, i would like to be able to extract the statistics the tcpreplay provides and broadcast them with a websocket service, for example. at the moment i have to start tcpreplay with a fork/exec method and i have to pipe the stderr, stdout of the tcpreplay so that i get that statistics but thats very error prone and race conditions might occur (i have not determined if that's my current problem).
being a library (tcpreplay) will ease a lot my application's implementation for the statistics and for the actual pcap replay.
Thanks. Scheduled for 4.4 release.