Siena
C++ API documentation (v. 0.4.3b5)
UDPSender Class Reference
#include <Comm.h>
Inheritance diagram for UDPSender:
List of all members.
|
Public Member Functions |
| UDPSender (const string &host, in_port_t port) |
| UDPSender (in_addr_t ip, in_port_t port) |
virtual void | shutdown () |
virtual void | send (const char *, size_t) throw (CommException) |
Detailed Description
TCP-based sender
this sender uses TCP connections to send packets. It opens a new connection to a given TCP port, writes a packet on the new connection, and then closes the connection.
Member Function Documentation
virtual void UDPSender::send |
( |
const char * |
, |
|
|
size_t |
|
|
) |
throw (CommException) [virtual] |
|
|
sends a message
- Exceptions:
-
Implements Sender. |
virtual void UDPSender::shutdown |
( |
|
) |
[virtual] |
|
|
closes this sender
Reimplemented from Sender. |
The documentation for this class was generated from the following file:
Copyright © 2001 University of Colorado.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.1 or any later version published by the Free Software
Foundation; with no Invariant Sections, no Front-Cover Texts and no
Back-Cover Texts. A copy of the license is included in the section
entitled "GNU Free Documentation License".
This documentation is authored and maintained by
Antonio
Carzaniga