Advertisement

Why must chat mesg go through server?

Started by October 31, 2003 12:06 AM
19 comments, last by HaywireGuy 21 years, 3 months ago
Thank you all for the speedy replies.

Fingh:
Dirty words filterin'' can be done on the chat client, so it can
off load some works from the server.

AP:
Thanks for the link, I have yet to go through that. But will do
in few days'' time.

Fingers_:
I have noticed that when the number of people in a chat room
(IRC) gets beyond 30, it becomes very difficult to chat there.
So I think limitin'' the number of users in a chat room to be
below 64 persons is reasonable. Each user sendin'' out 256
characters message at a time... It sounds good to me.

Megahertz:
The client app can get around the problem in a similar way. Say
if there are four clients behind a NAT, each of them is havin''
one port opened on the NAT to communicate with outside world.
So if an external client E1 needs to communicate with the C1
behind NAT, it will send to the port number belongs to C1 (this
information is obtained from the server durin'' the connection time).

Hawkins8:
The heart-pulse message sent by client app is on a specific
interval. So when the server finds out that a client is dead,
it will then inform the rest of the chatters in that channel.
So that''s still not so big of a problem.

Anyway, thanks so much for the informative replies. I''m still
wonderin'' if there''s any other chat program (other than Jabber)
that''s usin'' P2P method?






This topic is closed to new replies.

Advertisement