#ifndef InAddr_HH
#define InAddr_HH


#include <sys/socket.h>
//include <netinet/in.h>


class InAddr : public in_addr {
public:
  InAddr() {};
  virtual ~InAddr() {};

  void print(ostream &o) const {
    char dst[128];
    o << "   InAddr internet address = " 
      << inet_ntop(AF_INET,this,dst,128) << std::endl;
  }
};

#endif
