• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ibrcommon/ibrcommon/net/BroadcastSocket.h

Go to the documentation of this file.
00001 /*
00002  * BroadcastSocket.h
00003  *
00004  *  Created on: 28.06.2010
00005  *      Author: morgenro
00006  */
00007 
00008 #ifndef BROADCASTSOCKET_H_
00009 #define BROADCASTSOCKET_H_
00010 
00011 #include "ibrcommon/net/NetInterface.h"
00012 #include "ibrcommon/net/udpsocket.h"
00013 
00014 namespace ibrcommon
00015 {
00020         class BroadcastSocket : public ibrcommon::udpsocket
00021         {
00022         public:
00023                 BroadcastSocket();
00024                 virtual ~BroadcastSocket();
00025 
00031                 void bind(int port, std::string address = "");
00032 
00038                 void bind(int port, const NetInterface &iface);
00039         };
00040 }
00041 
00042 #endif /* BROADCASTSOCKET_H_ */

Generated on Thu Nov 11 2010 09:49:47 for IBR-DTNSuite by  doxygen 1.7.1