net_addr.hh 793 B

1234567891011121314151617181920212223242526
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #ifndef I4_NET_ADDR_HH
  9. #define I4_NET_ADDR_HH
  10. #include "arch.hh"
  11. class i4_net_protocol;
  12. class i4_net_address
  13. {
  14. public:
  15. i4_net_protocol *protocol;
  16. virtual i4_net_address *copy() = 0;
  17. virtual void set_port(int port) = 0;
  18. virtual i4_bool equals(i4_net_address *other) = 0;
  19. };
  20. #endif