aboutsummaryrefslogtreecommitdiff
path: root/network.h
blob: 50c8e180755e305107f0159565c7f11d2887d632 (plain)
1
2
3
4
5
6
7
#include <stdint.h>
#include <stdlib.h>

/* Socket interface convenience functions */
int network_socket(char* host, char* port, int socktype, int listener);
int network_send(int fd, uint8_t* data, size_t length);
int network_send_str(int fd, char* data);