source: golgotha/src/i4/network/net_addr.hh @ 608

Last change on this file since 608 was 80, checked in by Sam Hocevar, 15 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 793 bytes
Line 
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
9#ifndef I4_NET_ADDR_HH
10#define I4_NET_ADDR_HH
11
12#include "arch.hh"
13
14class i4_net_protocol;
15
16class i4_net_address
17{
18public:
19  i4_net_protocol *protocol;
20  virtual i4_net_address *copy() = 0;
21  virtual void set_port(int port) = 0;
22  virtual i4_bool equals(i4_net_address *other) = 0;
23};
24
25#endif
Note: See TracBrowser for help on using the repository browser.