Linked Servers (/NAMES reply)
Posted: Mon Mar 06, 2006 8:02 pm
Hi,
say you had two linked servers and a channel (#blah), 5 users on linked-server-1 were in #blah and another 5 users were on linked-server-2 in #blah (making a total of 10 users all together in #blah, half on linked-server-1, and the other half on linked-server-2).
So, I am guessing that linked-server-1 has a list of nicks in a buffer that joined the channel #blah on its server and linked-server-2 has its own list of nicks in a buffer for nicks that joined #blah on its server? So if both buffers for the nicks in channel #blah aren't the same, how does linked-server-1 respond in a /NAMES command, including all the nicks on both linked-servers? Would linked-server-1 request a list of nicks from #blah on linked-server-2 or do both linked-servers hold an exact same buffer of all the nicks in the channel?
I am trying to explain the best I can, if I was more expierenced at C I would look at the source myself, and there would be no need for posting. But I am curious how a linked-server-1 would send linked-server-2 a list of nicks in response to a raw 353 (/NAMES) reply when a user joins a channel, informing the nick joining the channel of all the nicks currently in the channel on both linked-servers.. it would seem like a hard thing to do.
say you had two linked servers and a channel (#blah), 5 users on linked-server-1 were in #blah and another 5 users were on linked-server-2 in #blah (making a total of 10 users all together in #blah, half on linked-server-1, and the other half on linked-server-2).
So, I am guessing that linked-server-1 has a list of nicks in a buffer that joined the channel #blah on its server and linked-server-2 has its own list of nicks in a buffer for nicks that joined #blah on its server? So if both buffers for the nicks in channel #blah aren't the same, how does linked-server-1 respond in a /NAMES command, including all the nicks on both linked-servers? Would linked-server-1 request a list of nicks from #blah on linked-server-2 or do both linked-servers hold an exact same buffer of all the nicks in the channel?
I am trying to explain the best I can, if I was more expierenced at C I would look at the source myself, and there would be no need for posting. But I am curious how a linked-server-1 would send linked-server-2 a list of nicks in response to a raw 353 (/NAMES) reply when a user joins a channel, informing the nick joining the channel of all the nicks currently in the channel on both linked-servers.. it would seem like a hard thing to do.