mograbi33 Posted September 1, 2004 Posted September 1, 2004 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 Quote
*Experts* Bucky Posted September 6, 2004 *Experts* Posted September 6, 2004 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 Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.