Results 1 to 2 of 2

Thread: communication

  1. #1

    Thread Starter
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950

    communication

    Hey,

    What is the best way to have your application talk to itself over networked computers?

    Thanks,
    Don't anthropomorphize computers -- they hate it

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: communication

    Depends on the volume of the communication, and the size of the messages. If you are using small amounts of info, then UDP is a good option. If the messages get larger, then TCP makes much more sense. You'd have to look at the difference between those two, as there are other differences in addition to packet size. TCP takes more effort, but it has some significant advantages if packet size is large, and some advanatages if it is small. UDP is simple, but unreliable (there is no guarantee that a packet will get through, so if it is essential, you need a receipt verification, just like a letter).
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width