#include <commudp.h>
Inheritance diagram for CommUDP:


A set of all functions, parameters and data related to the transmition and reception of data through the ethernet port using UDP.
Public Member Functions | |
| CommUDP (const char *servIP, int recport=REC_PORT, int sendport=REC_PORT) | |
| Initializes the UDP Communication. | |
| int | receive (unsigned char *buffer) |
| Receives data from the ethernet port. | |
| int | send (unsigned char const *buffer, int numBytes) |
| Transmits data through the ethernet port. | |
| void | setFD (int fd_tmp) |
| Sets the descriptor of the communication port. | |
| int | getFD (void) |
| Gets the descriptor of the communication port. | |
|
||||||||||||||||
|
Initializes the UDP Communication.
|
|
|
Gets the descriptor of the communication port.
Reimplemented from Communication. |
|
|
Receives data from the ethernet port.
|
|
||||||||||||
|
Transmits data through the ethernet port.
Implements Communication. |
|
|
Sets the descriptor of the communication port.
Reimplemented from Communication. |
1.3.7