open-source-search-engine/Msg1f.h

35 lines
517 B
C
Raw Normal View History

2013-08-03 00:12:24 +04:00
// Zak Betz, copyright Gigablast Jan 2005
//Get stuff from remote hosts...
//
#ifndef _MSG1F_H_
#define _MSG1F_H_
#include "UdpSlot.h"
#include "UdpServer.h"
#include "TcpSocket.h"
class Msg1f {
public:
Msg1f();
~Msg1f();
static bool init();
static bool getLog(long hostId,
long numBytes,
void *state,
void ( *callback) (void *state, UdpSlot* slot));
private:
/* TcpSocket *m_socket; */
/* void *m_state; */
/* void ( *m_callback) (void *state)); */
};
#endif