An Overview of User Datagram Protocol Jacksonville 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

Livingston & Partners
904-686-0056
1335 Lakewood Rd
Jacksonville, FL
Broadbased Communications
904-398-7279
1301 Riverplace Blvd
Jacksonville, FL
Dalton Agency
904-301-1162
140 W Monroe St
Jacksonville, FL
Geer Services Inc
904-354-7911
301 W Bay St
Jacksonville, FL
Davis & Associates Communications Inc
904-743-6658
5353 Arlington Expy
Jacksonville, FL
Freelance Web Site Design By Corinne
904-318-3930
3859 Boone Park Ave
Jacksonville, FL
Interlink America
904-378-0046
570 Ellis RD S
Jacksonville, FL
On Site Technology Inc
904-378-1774
8635 Wynhurst Drive
Jacksonville, FL
Dimension Concepts & Solutions
904-807-8961
12627 San Jose Blvd
Jacksonville, FL
Blackhawk Enterprises International Inc
904-220-7077
1372 Blackhawk Trl W
Jacksonville, 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

Livingston & Partners

904-686-0056
1335 Lakewood Rd
Jacksonville, FL
http://livingstonandpartners.com

Related Local Events
[PTAC] Winning Proposals and Bid Writing
Dates: 9/24/2009 - 9/24/2009
Location: Beaches Division Office
Jacksonville Beach, FL
View Details

Jacksonville Information Technology Council
Dates: 7/28/2009 - 7/28/2009
Location: FCCJ Advanced Technology Center
Jacksonville, FL
View Details