Skip to content

Instantly share code, notes, and snippets.

View florian-die's full-sized avatar

Florian Dietrich florian-die

View GitHub Profile
@florian-die
florian-die / dump1090_30003_line_by_line.c
Last active May 6, 2020 13:18
Read dump1090 port 30003 ADSB messages line by line (linux, C)
#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h> // read
// Dump1090 ip + port number
#define IP "192.168.1.12" // modify accordingly
#define PORT 30003
int main(int argc, char const *argv[])