- private:
- /** Sockaddr of the outbound ip and port
- */
- sockaddr_in addr;
-
- char host[MAXBUF];
- int port;
-
- /** File descriptor of the connection
- */
- int fd;
-
- /** Server name
- */
- std::string servername;
-
- /** Server 'GECOS'
- */
- std::string description;
-
- /** Server names of servers that this server is linked to
- * So for A->B->C, if this was the record for B it would contain A and C
- * whilever both servers are connected to B.
- */
- std::vector<std::string> routes;
-
- /** State. STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND
- * STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTED
- */
- int state;
-
- bool SetHostAddress(char* host, int port);
-