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_IP_H_
00011 #define _TX_IP_H_
00012
00013 #include "config.h"
00014 #include "usi++/usi-structs.h"
00015 #include "TX.h"
00016 #include <stdio.h>
00017
00018 namespace usipp {
00019
00023 class TX_IP : public TX {
00024 private:
00025 int rawfd;
00026 public:
00027 TX_IP() : rawfd(-1) {}
00028
00029 virtual ~TX_IP() {}
00030
00032 virtual int sendpack(void *, size_t, struct sockaddr*);
00033
00035 virtual int broadcast();
00036
00037 };
00038
00039 } // namespace
00040 #endif
00041
1.2.3 written by Dimitri van Heesch,
© 1997-2000