RMW desert 1.0
Loading...
Searching...
No Matches
Classes | Macros
TcpDaemon.h File Reference

Class used to send and receive data from the DESERT socket. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TcpDaemon
 

Macros

#define MAX_PACKET_LENGTH   512
 
#define ADDRESS   "127.0.0.1"
 
#define START_MARKER   0b10011001
 
#define END_MARKER   0b01010101
 
#define BYTE_MASK   0b11111111
 

Detailed Description

Class used to send and receive data from the DESERT socket.

The DESERT protocol stack interacts with the application level through a socket, used to send and receive a binary stream containing packets. This class connects to the socket and creates two threads, that run continously to store and send packets in the static members rx_packets and tx_packets

Author
Prof. Davide Costa