An Overview of User Datagram Protocol Atlanta GA

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

Macquarium Inc
404-554-4000
1800 Peachtree St NW
Atlanta, GA
Biltmore Communications
404-879-5050
817 W Peachtree St NW
Atlanta, GA
Atlanta GA Web Designers
770-433-3231
541 10th St NW
Atlanta, GA
Coolblue Interactive
404-876-6989
763 Trabert Ave NW
Atlanta, GA
TORK INTERACTIVE
404-223-2447
512 Means St NW
Atlanta, GA
Special Marketing Services Inc
404-688-6930
311 Oakland Ave SE
Atlanta, GA
Marko International
404-846-8392
3121 Maple DR NE
Atlanta, GA
1701 Media
404-377-9202
1526 Dekalb Ave NE
Atlanta, GA
Star Tech Consulting Inc
404-614-0584
227 Degress Ave NE
Atlanta, GA
Web Traffic Solutions
404-869-9664
3338 Peachtree RD NE
Atlanta, GA

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

Macquarium Inc

404-554-4000
1800 Peachtree St NW
Atlanta, GA

Related Local Events
RetechLab Woodstock
Dates: 10/16/2009 - 10/16/2009
Location: KW Platinum Partners Training Center
Woodstock, GA
View Details

Shameless Self-Promotion: Diy Seo And Pr
Dates: 9/17/2009 - 9/17/2009
Location: The Digital Breakthroughs Institute
Atlanta, GA
View Details

Shameless Self-Promotion: Diy Seo And Pr
Dates: 9/10/2009 - 9/10/2009
Location: The Digital Breakthroughs Institute
Atlanta, GA
View Details