Hello.

I'm going to work on server groups and have some questions according to this.

In doc/segver_groups and in include/sgroup.h
there noted Protocol as one level of server grouping.
What is a purpose of it ?
Is epic going to support other then irc proto ? :-( )

Server structure in sgroup.h have some differences with one in server.h
(except items which are moved into SGroup):

It has two filedescriptors for server:
+   int     write;                  /* Writing fd (== read) */
+   int     read;                   /* Reading fd (== write) */
instead of one in server.h:
-   int     des;                    /* file descriptor to server */
what is a point for this?

It misses:
-   struct sockaddr_in remote_sockname; /* sockname of this connection */
it used ONLY in server.c:connect_to_server() to getpeername
-   struct in_addr uh_addr;         /* ip address the server sees */
used in dcc.c to check for gatewing,
is dcc via NAT/gateways actually implemented ?
-   int     save_channels;          /* True if abnormal connection */
-   int     closing;                /* True if close_server called */
probably just missed ?
-   int     reconnect_to;           /* Server to connect to on EOF */
this afaig will be not necessary in case of server groups.
-   char    *quit_message;          /* Where we stash a quit message */
this probably should be place in servergroup structure,
as char * away is put.

I also think that NotifyList notify_list should be shared in server groups,
for they will be used primarily for grouping irc networks.
But it would be better to have an option to specify
whether to lookup a nick globally or in a group.

qMax
_______________________________________________
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list

Reply via email to