An Overview of User Datagram Protocol Miami FL

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

FORTUNE3
1 (305) 428.3994
3042 NW 82nd AVE
Doral, FL
Com F and S
(305) 592-4000
7314 SW 48th St
Miami, FL
Axistrend
(305) 442-3332
3524 SW 25th Ter
Miami, FL
Dodd Communications
(305) 885-8707
950 SE 8th St
Hialeah, FL
Cane Design
(305) 595-6925
7810 SW 83rd CT
Miami, FL
Compugusa LLC
(305) 223-2717
175 Fontainebleau Blvd
Miami, FL
Alba Communication Arts Inc
(305) 756-0765
5937 NE 6th Ave
Miami, FL
Beyond Cyberworld Inc
(305) 867-0508
900 Bay DR
Miami, FL
Alaskan Star
(305) 673-8676
405 Espanola Way
Miami, FL
Cirtruslab LLC
(305) 535-1555
1200 West Ave
Miami, FL

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

FORTUNE3

1 (305) 428.3994
3042 NW 82nd AVE
Doral, FL
http://www.fortune3.com

Related Local Events
Wednesday Evening Referral Group
Dates: 1/6/2010 - 1/8/2010
Location: WineStyles
Coral Springs, FL
View Details

Afternoon Chamber Referral Group
Dates: 2/4/2010 - 2/4/2010
Location: The Coral Springs Chamber Office
Coral Springs, FL
View Details

Wednesday Evening Referral Group
Dates: 2/17/2010 - 2/17/2010
Location: WineStyles
Coral Springs, FL
View Details

Morning Chamber Referral Group Meeting
Dates: 3/11/2010 - 2/11/2010
Location: La Quinta Hotel
Coral Springs, FL
View Details

Morning Chamber Referral Group Meeting
Dates: 3/25/2010 - 3/25/2010
Location: La Quinta Hotel
Coral Springs, FL
View Details