Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted

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

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...