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 / 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 "" // modify accordingly
#define PORT 30003
int main(int argc, char const *argv[])