23 lines
326 B
C++
23 lines
326 B
C++
#ifndef UDPSocket_h__
|
|
#define UDPSocket_h__
|
|
|
|
#include "Socket.h"
|
|
#include "Session.h"
|
|
|
|
namespace core {
|
|
|
|
class UDPSocket : public Socket {
|
|
|
|
public:
|
|
UDPSocket(EPoll &ePoll);
|
|
~UDPSocket();
|
|
|
|
// virtual int open(string address, short int port);
|
|
// virtual void write(istream data);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|