An Overview of User Datagram Protocol Washington DC

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

Lucidea
(202) 747-7226
1413 K Street, NW
Washington, DC
Eighth Day Design
703-562-3636
1401 Wilson Blvd
Arlington, VA
Synectics for Managemen
703-528-2772
1901 N Moore St
Arlington, VA
Cyveillance Inc
703-351-9766
1555 Wilson Blvd
Arlington, VA
Vallon Susan A Ltd Designer
(202) 518-0120
2737 Devonshire Pl NW
Washington, DC
Lockhart Ventures Inc
(202) 204-8700
2600 Virginia Ave NW
Washington, DC
Antony Childs Inc
(202) 337-1100
1668 Wisconsin Ave NW
Washington, DC
Dearborn Ned W
(202) 966-4939
2745 MacOmb St NW
Washington, DC
Captivate Networks Inc
(202) 296-0183
2000 L St NW
Washington, DC
Captivate Networks Inc
(202) 347-0482
655 15th St NW
Washington, DC

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

Lucidea

2027477226
1413 K Street, NW
Washington, DC
www.lucidea.com

Lucidea provides Web and IT consulting services to associations, nonprofits, government and other clients in the Washington, DC area.

Security and Infrastructure
Web Presence

Related Local Events
The 2009 Federal Technology Policy Forum
Dates: 7/15/2009 - 7/17/2009
Location: The Performance Institute
Arlington, VA
View Details

International Aid + Trade Event - Building Partnerships for Relief and Development - Exhibition and 2009
Dates: 7/9/2009 - 7/10/2009
Location: Ronald Reagan Building and International Trade Center
Washington, DC
View Details

SANS WhatWorks Summit in Forensics and Incident Response with Rob Lee
Dates: 7/5/2009 - 7/15/2009
Location: The Fairmont Washington, D.C.
Washington, DC
View Details

Gartner IT Security Summit Washington
Dates: 6/27/2009 - 6/28/2009
Location: Gaylord National Hotel & Convention Center
National Harbor, MD
View Details