equal
deleted
inserted
replaced
|
1 /* |
|
2 * $Id: PacketWriter.h 2 2007-12-22 14:15:30Z mbroeker $ |
|
3 * $URL: http://localhost/svn/cpp/qMonitor/trunk/include/PacketWriter.h $ |
|
4 */ |
|
5 |
|
6 #ifndef PACKETWRITER_H |
|
7 #define PACKETWRITER_H 0x20053008 |
|
8 #include <PacketReader.h> |
|
9 |
|
10 #include <sys/socket.h> |
|
11 #include <netinet/in.h> |
|
12 #include <arpa/inet.h> |
|
13 #include <netdb.h> |
|
14 |
|
15 class PacketWriter : PacketReader { |
|
16 private: |
|
17 struct sockaddr_in ca; |
|
18 |
|
19 public: |
|
20 PacketWriter(char *, int); |
|
21 ~PacketWriter(); |
|
22 |
|
23 void write(char *s, int); |
|
24 bool ready(); |
|
25 }; |
|
26 |
|
27 #endif |
|
28 |