Skip to content

Commit

Permalink
Merge a84a02b into d920204
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed Nov 22, 2016
2 parents d920204 + a84a02b commit 0ba518c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/tcp_metrics
Expand Up @@ -20,6 +20,10 @@ pcap_session.on("packet", function (raw_packet) {
tcp_tracker.track_packet(packet);
});

pcap_session.on("complete", function () {
console.log("pcap session complete.");
});

// tracker emits sessions, and sessions emit data
tcp_tracker.on("session", function (session) {
console.log("Start of TCP session between " + session.src_name + " and " + session.dst_name);
Expand Down

0 comments on commit 0ba518c

Please sign in to comment.