[JDEV] UDP vs TCP

Peter Donald donaldp at mad.scientist.com
Fri Sep 1 19:11:24 CDT 2000


At 02:12  1/9/00 -0400, you wrote:
>Peter, perhaps you don't realize every IM system out there uses TCP for both
>client-server and (when they support them) peer-peer connections. The only
>exception is ICQ, and AOL is rapidly changing this as they are moving the
>service to Oscar.

okay didn't know this - do you have a link to Oscar ?

>Also realize that there are lots and lots of clients out there - my
>estimates put it at least at 30 (these are just the ones I've heard about).
>You really want to write portions of the TCP functionality on top of UDP in
>Visual Basic? One of the reasons TCP was chosen was not just that it makes
>the server code simpler, but that it makes clients simpler - meaning there
>are more clients supporting Jabber, bringing everyone happily closer to
>World Domination (tm). One of the major goals (perhaps *the* major goal) of
>Jabber was to make client authoring simple.

easy enough if we write a lib backend that is portable and anyone can use =)

>Finally, the last four companies I've worked at (read: EVERY company I've
>worked at which had a computer) has had my computer situated behind a proxy.
>Most Universities now use proxies for all their computers (I know University
>of Florida even proxies the residence halls.) And I have a NAT proxy at
>home, so that my notebook can access the internet through my linux 'server'.
>How do these computers connect, if at all, on a UDP system?

UDP sits behind a NAT proxy in same method TCP does :P. Actually thats how
a lot of UDP applications work (mostly games) behind Proxies :P

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*




More information about the JDev mailing list