Cyril  Parisian

Cyril Parisian


Ss Pcap Visual: A Simple and Stupid Pcap Visualization Application/C++

Simple and Stupid Pcap Visualization

A Simple and Stupid Pcap Visualization application, with some fancy charts.

This project is just a naive attempt to mix pcap, web front-end tech, and d3js together. It intends for nothing serious and definitely comes with no warrant.

Online Demo (Mocked) img

How To Run

  1. Build and run pcap2ws, which is the backend that captures traffic and pipes the data to the websocket.
  2. Build and run pcap-visual, which is the web front-end that visualizes the data.

See their READMEs for more information.

How It Works

The project contains two module: pcap2ws and pcap-visual.


There's no magic that allows you to capture the network traffic from the browser :)

So a native backend is needed to pipe the data into the browser. pcap2ws is a simple and stupid websocket server built upon websocketpp. It will broadcast the pcap data at port 9002 by default.


A static web page built with d3js. It will connect to localhost:9002 to fetch the pcap data and visualize it.

It draws the traffic in a certain period as a bar chart, as well as points on the map. The map component uses the data of PRC but it should be possible to use others. The format is mostly geojson, I guess.

Disclaimer: The map data of PRC is just dumped from the wild and random Internet. Including the data(as well as borders, regions in it) is mainly for the convenience and does not represent my opinions or positions.

Maintenance Status

I don't maintain this.

I will neither respond to any issues nor pull requests. But feel free to use them for discussion or showcase.


I don't care what you're going to do with it.

Hopefully, you can find this project useful in your case, or at least fun :)

Author: rapiz1
Source code:
License: Unlicense license
#cpluplus #javascript #typescript 

What is GEEK

Buddha Community

Ss Pcap Visual: A Simple and Stupid Pcap Visualization Application/C++
Shaylee  Lemke

Shaylee Lemke


Install Visual Studio 2019 Community – Best IDE for C#

In this article, I will show you how to install Visual Studio 2019 Community on to your machine to kickstart your development journey. Here is why everyone prefers Visual Studio over other IDEs – It’s a product from Microsoft who has built the .NET Framework, so obviously they know how to cater to the needs of the developers who use their framework.

#c #c# #c++ #programming-c #visual

Sadie  Ratke

Sadie Ratke


Level-up your C++ productivity using Visual Studio

Come learn how you can improve your efficiency even while working from home. We’ll take a look at online development environments, Live Share, and a host of other new productivity features and tips.

#c #c# #c++ #programming-c #visual studio

C# In Simple Terms - Iterators

A few posts back, we talked about Arrays and Collections, and how easy they were to deal with.

In this post, we’ll talk about a feature of C## that allows us developers to iterate over many different kinds of collections and return elements from them one-by-one. Let’s learn about iterators!

#c# in simple terms #c# #c #c++

C# in Simple Terms - Indexers

We have now come to the part in the C## in Simple Terms series where we can explore some cool but little-used C## features. Among these is the ability to access values in a class instance in the same way we access array values; we do this using a C## feature called indexers.

So, let’s build some indexers!

#c# in simple terms #c# #c #c++

Tamale  Moses

Tamale Moses


How to Run C/C++ in Sublime Text?

C and C++ are the most powerful programming language in the world. Most of the super fast and complex libraries and algorithms are written in C or C++. Most powerful Kernel programs are also written in C. So, there is no way to skip it.

In programming competitions, most programmers prefer to write code in C or C++. Tourist is considered the worlds top programming contestant of all ages who write code in C++.

During programming competitions, programmers prefer to use a lightweight editor to focus on coding and algorithm designing. VimSublime Text, and Notepad++ are the most common editors for us. Apart from the competition, many software developers and professionals love to use Sublime Text just because of its flexibility.

I have discussed the steps we need to complete in this blog post before running a C/C++ code in Sublime Text. We will take the inputs from an input file and print outputs to an output file without using freopen file related functions in C/C++.

#cpp #c #c-programming #sublimetext #c++ #c/c++