Re: Chat binding to *:4445 - WAS {Re: [Webct-admin] license keyed to secondary IP address of machin
Status: Beta
Brought to you by:
jlongland
|
From: <ma...@mj...> - 2001-09-11 02:01:54
|
I realized I didn't answer the UDP/TCP question. The reason UDP was used was to improve performance because it used to be a good idea to use UDP to improve performance in applications where you didn't care if the message got there on not. I'm not sure why we use both (I try not to think about the chat protocol too much, it makes my head hurt :). But since modern tcp stacks are much better written and eventually you end up reimplemnting TCP (poorly even) with UDP if you maintain a UDP application long enough (because eventually you do care if the messages get there and in what order), it's better just to do it as TCP. Which is probably why we have TCP there as well. Mark On 7 Sep 01, at 18:27, Derek Diget wrote: > > Changing the topic here, but it is related to a multi-IP addressed > machine. We are running into an issue with our two instances of WebCT > running on one box, but with apache binding to separate IP addresses. > (v3.1 and 3.6 on Solaris 8) > > Today, I heard some people were having problems with the chat room. > Open investigation, I see that WebCT's chat script has a problem. It > binds as "*:4445" by default. This is fine on a one IP address > machine, but seems to cause problems on a machine with more than one > IP address. (It sure does for the logs found under > webct/generic/public/chat/log.) I know that I can change the port > numbers in each instance of WebCT, but I feel that is a hack. > > Before I press this issue farther, do others agree that the chat > and whiteboard should look to see what address they are running under > and bind accordingly? > > (I just noted another weirdism. Why does the whiteboard use one port > for TCP and a different one for UDP. You can use the same port number > for TCP and UDP. See http://www.iana.org/assignments/port-numbers for > a list of registered port numbers. Does WebCT know that they are > using ports that already belong to other applications?) > > > > > > -- > ********************************************************************** > * Derek Diget E-mail: der...@wm... > Voice:616.387.5474 Western Michigan University - Kalamazoo Michigan > USA - www.wmich.edu/ Office of Information Technology - UNIX support > - www.wmich.edu/unix/ > ********************************************************************** > * > > > _______________________________________________ > Webct-admin mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webct-admin > > Mark Wilcox ma...@mj... Got LDAP? |