IBR-DTNSuite  0.8
ibrcommon/ibrcommon/net/UnicastSocket.h
Go to the documentation of this file.
00001 /*
00002  * UnicastSocket.h
00003  *
00004  *  Created on: 28.06.2010
00005  *      Author: morgenro
00006  */
00007 
00008 #ifndef UNICASTSOCKET_H_
00009 #define UNICASTSOCKET_H_
00010 
00011 #include "ibrcommon/net/vinterface.h"
00012 #include "ibrcommon/net/vaddress.h"
00013 #include "ibrcommon/net/udpsocket.h"
00014 
00015 namespace ibrcommon
00016 {
00017         class UnicastSocket : public ibrcommon::udpsocket
00018         {
00019         public:
00020                 UnicastSocket();
00021                 virtual ~UnicastSocket();
00022 
00023                 void bind(int port, const vaddress &address);
00024                 void bind(int port, const vinterface &iface);
00025                 void bind();
00026         };
00027 }
00028 
00029 #endif /* UNICASTSOCKET_H_ */