/* */ #ifndef _D_PEER_LISTEN_COMMAND_H_ #define _D_PEER_LISTEN_COMMAND_H_ #include "Command.h" #include "TorrentDownloadEngine.h" class PeerListenCommand : public Command { private: TorrentDownloadEngine* e; SocketHandle socket; public: PeerListenCommand(int cuid, TorrentDownloadEngine* e); ~PeerListenCommand(); bool execute(); int bindPort(int portRangeStart, int portRangeEnd); }; #endif // _D_PEER_LISTEN_COMMAND_H_