* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
* E-mail:
* <brain@chatspike.net>
* <Craig@chatspike.net>
* ---------------------------------------------------
*/
-#include "inspircd_config.h"
-#include "base.h"
-#include <string>
-#include <map>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <unistd.h>
-#include <errno.h>
-#include <time.h>
-#include <vector>
-#include <deque>
-#include <sstream>
-
#ifndef __CONNECTION_H__
#define __CONNECTION_H__
+#include <time.h>
+#include "inspircd_config.h"
+#include "base.h"
+
/** Please note: classes serverrec and userrec both inherit from class connection.
*/
class connection : public Extensible
/** Hostname of connection. Not used if this is a serverrec
*/
- char host[160];
-
- /** IP of connection.
- */
- char ip[16];
-
+ char host[65];
+
/** Stats counter for bytes inbound
*/
int bytes_in;
#endif
-
-