include/PacketWriter.h
changeset 0 826dd5531eb0
child 3 724e07a9f155
new file mode 100644
--- /dev/null
+++ b/include/PacketWriter.h
@@ -0,0 +1,28 @@
+/*
+ *  $Id: PacketWriter.h 2 2007-12-22 14:15:30Z mbroeker $
+ * $URL: http://localhost/svn/cpp/qMonitor/trunk/include/PacketWriter.h $
+ */
+
+#ifndef PACKETWRITER_H
+#define PACKETWRITER_H 0x20053008
+#include <PacketReader.h>
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+
+class PacketWriter : PacketReader {
+private:
+	struct sockaddr_in ca;
+
+public:
+	PacketWriter(char *, int);
+	~PacketWriter();
+
+	void write(char *s, int);
+	bool ready();
+};
+
+#endif
+