#include <MulticastSerialized.h>
Inheritance diagram for MCSerializedServer:


Public Member Functions | |
| int | send () |
| Sends the constructed packet. | |
| template<typename T> | |
| void | pack (const T &object) |
| Adds an object to the packet. | |
| int | open (char *address, int port) |
| Opens a multicast server connection. | |
| void | close (void) |
| Closes the currently open connection. | |
Protected Attributes | |
| asio::io_service | io_service |
| asio::ip::udp::socket * | socket_ |
| asio::ip::udp::endpoint * | endpoint_ |
| void pack | ( | const T & | object | ) | [inline] |
Adds an object to the packet.
| [in] | object | Serilizable object to be added to the packet. |
| int open | ( | char * | address, | |
| int | port | |||
| ) | [inherited] |
Opens a multicast server connection.
| [in] | address | multicast IP address. |
| [in] | port | multicast port. |
1.5.1-p1