Classes | Defines | Functions
server.c File Reference
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <pthread.h>
#include <time.h>
#include "mini_blas.h"
#include "utils.h"
#include "parser.h"
#include "server.h"
#include "connected_layer.h"
#include "convolutional_layer.h"
Include dependency graph for server.c:

Go to the source code of this file.

Classes

struct  connection_info

Defines

#define SERVER_PORT   9423
#define STR(x)   #x

Functions

void client_update (network net, char *address)
void handle_connection (void *pointer)
void read_and_add_into (int fd, float *a, int n)
void server_update (network net)
int socket_setup (int server)

Define Documentation

#define SERVER_PORT   9423

Definition at line 18 of file server.c.

#define STR (   x)    #x

Definition at line 19 of file server.c.


Function Documentation

void client_update ( network  net,
char *  address 
)

Definition at line 133 of file server.c.

void handle_connection ( void *  pointer)

Definition at line 61 of file server.c.

void read_and_add_into ( int  fd,
float *  a,
int  n 
)

Definition at line 53 of file server.c.

void server_update ( network  net)

Definition at line 109 of file server.c.

int socket_setup ( int  server)

Definition at line 21 of file server.c.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31