An Overview of User Datagram Protocol Boulder CO

UDP is an abbreviation for User Datagram Protocol. It's nothing but a connectionless transport protocol that runs on TCP/IP's IP.

Local Companies

Angler Imaging Consulting
(720) 883-6217
Westminster, CO
Website4Retail
+1 303-800-5657
14478 I-25
Longmont, CO
Flatirons Internet
(303) 362-5306
1320 Pearl St Ste 106
Boulder, CO
Circadence
(303) 413-8800
4888 Pearl East Cir
Boulder, CO
Insight Designs Web Solutions Llc
(303) 449-8567
2006 Broadway St Ste 300
Boulder, CO
Fortis Communications
(303) 781-2344
2721 W Oxford Ave
Englewood, CO
Gwe Net
(970) 249-6266
436 E Main St
Montrose, CO
Clear Reach Networks
(970) 622-0033
Colorado Springs, CO
Localnet
(970) 947-9136
Glenwood Springs, CO
Eagle Lending Group
(303) 524-1420
8310 S Valley Hwy
Englewood, CO

What is UDP?
How can we use it in Delphi?

An Introduction to UDP

UDP is an abbreviation for User Datagram Protocol. It's nothing but a connectionless transport protocol that runs on TCP/IP's IP.

The advantage of this protocol is that it is connectionless. It doesn't need any connection before sending data packets to another computer.

The disadvantage is that it provides an unreliable datagram service. That is, the data packets may be duplicated, lost or received in a different order than the one in which they were sent. So the application must handle all those situations robustly.

The receiving program requests a number of bytes (the maximum will be the total number of bytes in the received packet). If less than the full packet is read, then the remainder is discarded. Then the next read is from the next packet. That means the boundaries of the original packet are preserved. For that the application must handle error correction while reading packets.

This UDP is best suited for small, independent requests like requesting a value of a variable etc., If the data is too large to send (i.e many packets of data) and valuable, then UDP is not the preferred protocol to use.

There is a component in Delphi 5 edition for the UDP from NetMasters called NMUDP. That component is similar to use as TclientSocket component.

The comparison of TClientSocket component with TNMUDP component:

As far as the properties are concerned, here in NMUDP we need to set the LocalPort(it could be any integer greater than zero; but should not be zero) to receive the data sent from the server in addition to the RemoteHost and RemotePort. But actually, the host may not be a remote one. It could be a local machine. (i.e) we can send data packets to the client machine itself and get response back for the testing purposes....

Click here to read the rest of the article at HowToDoThings.com

Author: brian shaifer

Featured Local Company

Angler Imaging Consulting

Seeking position in E-Commerce Administration

(720) 883-6217
Westminster, CO
www.anglerimaging.org

I created this site with the intention of offering General Contractor Project services to Non-Profits and similar organizations of interest....such as Medium and Small Businesses, Individual Business Owners, Freelancers, and hobbyists with their Commerce Administration Strategy needs....

Related Local Events
INTC 2009
Dates: 9/21/2009 - 9/24/2009
Location: Hyatt Convention Center Hotel
Denver, CO
View Details

The American Society for Bone and Mineral Research 31st Annual Meeting
Dates: 9/11/2009 - 9/15/2009
Location: Colorado Convention Center
Denver, CO
View Details

Colorado Chief Information Officer, Mike Locatis, Presents State IT Priorities
Dates: 6/9/2009 - 6/9/2009
Location: Denver Marriott City Center
Denver, CO
View Details