m2.mbcp/src/highreceiver.h

21 lines
330 B
C
Raw Permalink Normal View History

2006-02-05 17:43:00 +00:00
#ifndef _GYR_HIGH_RECEIVER_H
#define _GYR_HIGH_RECEIVER_H
class HighReceiver {
private:
int _socket_desc;
struct sockaddr_in * _socket_addr;
2006-03-01 21:40:44 +00:00
int _port;
2006-02-05 17:43:00 +00:00
protected:
public:
2006-03-06 12:42:03 +00:00
HighReceiver(short low_port);
2006-02-05 17:43:00 +00:00
~HighReceiver();
void run(); // thread part
2006-03-01 21:40:44 +00:00
short getPort(); // seq part
2006-02-05 17:43:00 +00:00
};
#endif // _GYR_HIGH_RECEIVER_H