Skip to content

Instantly share code, notes, and snippets.

@ckent
ckent / serial_bridge.c
Created June 1, 2015 15:15
Bridge an incoming socket to a serial port.
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <sys/select.h>
#include <sys/ioctl.h>
#include <errno.h>