
TCP vs UDP Choosing a Transport for Systems Code
Choose between TCP and UDP for systems code by weighing reliability, ordering, latency and framing, with a decision table and the cost of each option.
Tag
445 posts

Choose between TCP and UDP for systems code by weighing reliability, ordering, latency and framing, with a decision table and the cost of each option.

Use the COBOL verbs MOVE, ADD, SUBTRACT, MULTIPLY and DIVIDE, with the TO, FROM, BY, GIVING and REMAINDER forms, and see how truncation and padding work.

Enable /dev/i2c-N, list adapters with i2cdetect -l, scan a bus with i2cdetect -y and read the address grid, including reserved ranges and missing devices.

Disassemble a Cortex-M ELF with arm-none-eabi-objdump: pick sections and symbols, read the encoding columns, and spot literal pools and the vector table.

Learn embedded Rust from an empty directory to flashed, logged, interrupt-driven firmware on a Cortex-M board, with the toolchain, crates and mental model.

A beginner guide to Linux kernel development: how the kernel works, a safe lab, reading source, kernel C, a first module, debugging and a first patch.

Pull the audio track out of a video with FFmpeg, either by copying it unchanged or by converting it to MP3, AAC, Opus or WAV, with commands for each case.

Resolve hostnames in C with getaddrinfo, walk the result list, connect to the first address that works, and free it with freeaddrinfo on Linux.

COBOL level numbers build records from groups and elementary items. Learn what 01, 02 to 49, 66, 77 and 88 mean, with a record layout and its output.

Blink an LED, read a button and wait for edge events from Python 3.12 with the libgpiod 2.1 gpiod module, using request_lines and LineSettings.

How ARM Cortex-M assembly moves data between memory and registers: LDR and STR sizes and addressing, offsets, writeback, and the multi-register LDM and STM.

Send Zephyr printk and log output to a UART terminal or to SEGGER RTT, with the exact Kconfig lines, the chosen node and what to do when nothing prints.