open-card-table/oct_networking.h

19 lines
292 B
C
Raw Normal View History

#ifndef OCT_NETWORKING_H
#define OCT_NETWORKING_H
#include <sys/socket.h>
#define BUFFER_SIZE 1024
#define OCT_TYPE_SERVER 1
#define OCT_TYPE_CLIENT 2
struct oct_network_client;
struct oct_network_server;
int oct_network_client_init();
int oct_network_server_init(char* port);
#endif