An Overview of User Datagram Protocol Phoenix AZ

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

First Data Corporation
(480) 348-8748
7373 N. Scottsdale Road Suite C-165
Scottsdale, AZ
Foxstone Industries Inc
480-563-1805
26803 N 73rd Way
Scottsdale, AZ
Designers Cafe
480-947-2585
8208 E Weldon Ave
Scottsdale, AZ
Excelnet Media LLC
480-874-4379
1717 N 77th St
Scottsdale, AZ
Blue Square Studios
602-795-5946
5635 N Scottsdale RD
Scottsdale, AZ
Animal Inc
480-281-1449
15849 N 71st St
Scottsdale, AZ
Artronic Development
602-953-0336
4848 E Cactus Rd
Scottsdale, AZ
Castle Productions
480-991-5090
6837 E Sweetwater Ave
Scottsdale, AZ
Myriad Interactive
480-315-0601
11000 N Scottsdale RD
Scottsdale, AZ
Contact Design
480-921-1732
8960 E Raintree Dr
Scottsdale, AZ

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

First Data Corporation

(480) 348-8748
7373 N. Scottsdale Road Suite C-165
Scottsdale, AZ

Related Local Events
Dec Membership Luncheon
Dates: 12/9/2009 - 12/9/2009
Location: Rio Vista Recreation Center
Peoria, AZ
View Details

Oct Membership Luncheon
Dates: 10/14/2009 - 10/14/2009
Location: Rio Vista Recreation Center
Peoria, AZ
View Details

Monte Cello Ribbon Cutting
Dates: 7/25/2009 - 7/25/2009
Location: Monte Cello
Mesa, AZ
View Details

REAL-TIME & EMBEDDED COMPUTING CONFERENCE - PHOENIX 2009
Dates: 6/2/2009 - 6/2/2009
Location: Tempe Mission Palms Hotel & Conference Center
Tempe, AZ
View Details