TX.h Source File

Main Page Class Hierarchy Compound List File List Compound Members Examples

# TX.h

    00001 /*** This Programs/Libraries are (C)opyright by Sebastian Krahmer.
    00002  *** You may use it under the terms of the GPL. You should have
    00003  *** already received the file COPYING that shows you your rights.
    00004  *** Please look at COPYING for further license-details.
    00005  ***
    00006  *** THERE IS ABSOLUTELY NO WARRANTY. SO YOU USE IT AT YOUR OWN RISK.
    00007  *** IT WAS WRITTEN IN THE HOPE THAT IT WILL BE USEFULL. I AM NOT RESPONSIBLE
    00008  *** FOR ANY DAMAGE YOU MAYBE GET DUE TO USING MY PROGRAMS.
    00009  ***/
    00010 #ifndef _TX_H_
    00011 #define _TX_H_
    00012
    00013 #include "config.h"
    00014 #include "usi++/usi-structs.h"
    00015 #include <stdio.h>
    00016
    00017 namespace usipp {
    00018
    00025 class TX {
    00026 public:
    00027         TX() {}
    00028         virtual ~TX() {}
    00029
    00033         virtual int sendpack(void *, size_t, struct sockaddr *) = 0;
    00034
    00037         virtual int broadcast() = 0;
    00038 };
    00039
    00040 } // namespace usipp
    00041
    00042 #endif
    00043