MulticastServer Class Reference
[Utility]

#include <MulticastServer.h>

Inheritance diagram for MulticastServer:

Inheritance graph
[legend]
Collaboration diagram for MulticastServer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Allows sending of manually constructed packets via the multicast protocol.


Public Member Functions

int send (void)
void beginBuffer (void)
void packBuffer (char value)
void packBuffer (short value)
void packBuffer (int value)
void packBuffer (float value)
void packBuffer (double value)
void packBuffer (char *str)
void packBuffer (const void *buff, int len)
void setBufferSize (int bsize)
unsigned char *const getBuffer () const
int open (char *address, int port)
 Opens a multicast server connection.
void close (void)
 Closes the currently open connection.

Protected Attributes

int bufferSize
unsigned char * buffer
unsigned char * p
asio::io_service io_service
asio::ip::udp::socket * socket_
asio::ip::udp::endpoint * endpoint_


Member Function Documentation

int open ( char *  address,
int  port 
) [inherited]

Opens a multicast server connection.

Parameters:
[in] address multicast IP address.
[in] port multicast port.


The documentation for this class was generated from the following file:
Generated on Tue Mar 6 17:57:20 2007 for AME Repository by  doxygen 1.5.1-p1