#include <socketUDP.h>

Public Member Functions | |
| SenderUDP (const int port, string &host) | |
| ~SenderUDP () | |
| int | send (string &msg) |
| send a string | |
| int | send (char *msg, int lsize) |
| send a char array | |
| virtual string | getObjectName () const |
| Method that gives the name of the class as it will be displayed by the tracer. | |
| SenderUDP::SenderUDP | ( | const int | port, | |
| string & | host | |||
| ) |
| SenderUDP::~SenderUDP | ( | ) |
| int SenderUDP::send | ( | string & | msg | ) |
send a string
| msg | string to be sent |
| int SenderUDP::send | ( | char * | msg, | |
| int | lsize | |||
| ) |
send a char array
| msg | pointer to char array to be sent | |
| lsize | number of char to be sent |
| virtual string SenderUDP::getObjectName | ( | ) | const [inline, virtual] |
Method that gives the name of the class as it will be displayed by the tracer.
Reimplemented from SocketUDP.
Reimplemented in BroadcasterUDP.
1.5.6