Siena C++ API documentation (v. 0.4.1)

Main Page   Class Hierarchy   Compound List   File List   Compound Members   Examples  

TCPSender Class Reference

#include <Comm.h>

Inheritance diagram for TCPSender::

Sender List of all members.

Public Methods

 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

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

sends a message

Exceptions:
CommException  

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