Siena C++ API Documentation
Author: Antonio Carzaniga

Siena C++ API documentation (v. 0.4.3)

- Main Page
- Classes
- Files
- Examples

- Class List
- Class Hierarchy
- Class Members

# TCPSender Class Reference

`#include <Comm.h>`

Inheritance diagram for TCPSender:

List of all members.

## Public Member Functions
| TCPSender (const string &host, in_port_t port)
| TCPSender (in_addr_t ip, in_port_t port)
virtual void | send (const char *, size_t) throw (CommException)

## Detailed Description

TCP-based sender

this sender connects to a TCP port, writes a packet on the new connection, and then closes the connection.

## Member Function Documentation

virtual void TCPSender::send | ( | const char * | ,
|  | size_t |  |
| ) |  |  | throw (CommException)`[virtual]`

sends a message

Exceptions:

  | CommException |

Implements Sender.

The documentation for this class was generated from the following file:

- Comm.h

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