add initial framework

This commit is contained in:
Conor Patrick
2018-04-28 13:40:28 -04:00
parent 0d0eff153e
commit 999ea34634
9 changed files with 212 additions and 0 deletions

14
udp_bridge.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _UDP_BRIDGE_H
#define _UDP_BRIDGE_H
int udp_server();
// Recv from anyone
void udp_recv(int fd, uint8_t * buf, int size);
// Send to 127.0.0.1:7112
void udp_send(int fd, uint8_t * buf, int size);
void udp_close(int fd);
#endif