include/PacketWriter.h
author Markus Bröker <mbroeker@largo.homelinux.org>
Fri, 10 Apr 2009 21:21:11 +0200
changeset 5 70980306fd61
parent 4 fdf04a93faeb
permissions -rw-r--r--
lintian checks minimized the lintian warnings, QoS

/*
 *  $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

#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