Some code cleanup

This commit is contained in:
Igor Socec 2016-11-19 13:46:26 +01:00
parent c17e696566
commit b934bb120c
11 changed files with 122 additions and 112 deletions

View file

@ -1,15 +1,15 @@
#pragma once
/* Handles server operation. */
#pragma once
#include <common.h>
#include <client.h>
typedef struct
{
int socket; /* server socket */
struct sockaddr_in address; /* server address information */
unsigned int port; /* server port in host byte order, practical reference */
int socket; /* server socket */
struct sockaddr_in address; /* server address information */
unsigned int port; /* server port in host byte order */
} server_t;
/**