#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <boost/thread.hpp>
Go to the source code of this file.
Classes | |
struct | board |
Functions | |
void | BoradcastWithFrq (int connected) |
bool | check_Command (unsigned char *buf) |
int | main () |
void | send_Ack () |
void | set_channels (void) |
void | switch_OnOffChannel (char channel, char status) |
void | take_boardMeasurments () |
void | take_boardSpecifications () |
void | thread_for_client (int connected) |
Variables | |
struct board | board_info |
int | broadcastFrq |
int | BUFF_SIZE |
int | bytes_recieved |
int | channels |
struct sockaddr_in server_addr | client_addr |
int | connected |
int | MAX_channels = 8 |
unsigned char | nbuffer [255] |
unsigned char * | p |
char | recv_data [255] |
char | send_data [255] |
int | sin_size |
int | sock |
int | True = 1 |
void BoradcastWithFrq | ( | int | connected | ) |
bool check_Command | ( | unsigned char * | buf | ) |
void set_channels | ( | void | ) |
void switch_OnOffChannel | ( | char | channel, |
char | status | ||
) |
void take_boardMeasurments | ( | ) |
void take_boardSpecifications | ( | ) |
void thread_for_client | ( | int | connected | ) |
struct board board_info |
int broadcastFrq |
int bytes_recieved |
struct sockaddr_in server_addr client_addr |
int MAX_channels = 8 |