service chat application

mograbi33

Newcomer
Joined
Sep 1, 2004
Messages
1
Hi all,

I have this question:
Which protocol UDP OR TCP is better to use for client/server applications?

I’m planning to develop window service application that will log anther application events which divided into two levels high and low events.

Each event will be logged in the event viewer and anther copy will be sent to administrator(s) (high event will be broadcasted for all, low will be sent to logged in admin).

do you have any good artical for this issue ?

Thanks,
Moghrabi
 
TCP would definitely be the way to go in this situation. With UDP, there is a chance
that messages will never be delivered, and in this case one undelivered message
sounds like it could cause some trouble. UDP is generally reserved for when a few
lost messages are not important, such as the constant movement of players in a
multiplayer game (where many of these messages are sent per second). TCP ensures
these messages get delivered safely, and if you become disconnected for whatever
reason, you know instantly and can handle it.

There's a nice explanation here
 
Back
Top