Main Page Class Hierarchy Compound List File List Compound Members Examples

# usipp::TX Class Reference

`#include <TX.h>`

Inheritance diagram for usipp::TX:

List of all members.

## Public Methods
| TX ()
virtual | ~TX ()
virtual int | sendpack (void *, size_t, struct sockaddr *) = 0
virtual int | broadcast () = 0

## Detailed Description

The transmitter lets you send packets on the net. You can write your own and register them with register_tx() but you must provide at least sendpack(). Shipped with USI++ is TX_IP which is in fact a RAW socket

## Member Function Documentation

int usipp::TX::broadcast ( | )`[pure virtual]`

| Must have capability to send broadcast packets. May be just a dummy. Reimplemented in usipp::TX_IP.

int usipp::TX::sendpack ( | void *,
| size_t,
| struct sockaddr * )`[pure virtual]`

| Do the send. You don't call this directly. IP::sendpack() etc deliver the request to here. YOur task is only to provide a sendpack() when you write your own TX classes. Reimplemented in usipp::TX_IP.

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

- TX.h