-
Notifications
You must be signed in to change notification settings - Fork 1
/
P2P.h
28 lines (23 loc) · 792 Bytes
/
P2P.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* */
/* File: P2P.h */
/* Author: Tyler Herbert */
/* Version: 1.0 */
/* Last Editted: February 1, 2016 */
/* */
/* File Section Description: */
/* This section is for the inital */
/* Application load and setup */
/* */
#include <stdio.h>
#include <string.h> //strlen
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h> //inet_addr
#include <unistd.h> //write
#ifndef P2PMain
#define P2PMain
#include "P2PServer.h"
#include "P2PClient.h"
#include "P2PInterface.h"
int createSocket(int * socket_desc);
#endif