An Overview of User Datagram Protocol San Jose CA

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

Concierge for Business
408 993-1368
472 Clifton Avenue
San Jose, CA
Pudding Inc
(408) 241-1040
4100 Moorpark Ave
San Jose, CA
Localnet
(408) 293-4041
San Jose, CA
Macro Net Networks
(408) 445-1555
San Jose, CA
Internet Click Latino
(408) 251-1673
1690 Story Rd
San Jose, CA
Net I
(408) 856-1590
3553 N 1st St
San Jose, CA
Lodgenet Entertainment
(408) 282-4958
211 S 1st St
San Jose, CA
Spincircuit
(408) 273-5000
55 Trimble
San Jose, CA
Hy-Tech Alliance Inc
(408) 616-8898
San Jose, CA
Kepnet Internet Services
(408) 270-2499
3184 Linkfield Way
San Jose, CA

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

Concierge for Business

408 993-1368
472 Clifton Avenue
San Jose, CA
http://www.conciergeforbusiness.com

Outsource Management Center. Whenever you have a need to send work outside we are here to locate and qualify your vendors, conduct the Request for Quote/Information process, study results, submit findings to you, negotiate terms with vendor, project manage, and finally track your transactions.

In keeping with the Concierge Business Model, our Vendor pays the bulk of the fee. Locating and qualifying vendors is FREE to you, management of the procurement process is offered at a small price.

Give us a Call. You deserve your very own Concierge for Business!

Related Local Events
MACWORLD 2010
Dates: 1/4/2010 - 1/8/2010
Location: Moscone Convention Center
San Francisco, CA
View Details

Contraceptive Technology Conference : San Francisco
Dates: 3/24/2010 - 3/27/2010
Location: Hyatt Regency Hotel
San Francisco, CA
View Details

VMWorld 2009
Dates: 8/31/2009 - 9/3/2009
Location: Moscone Center
San Francisco, CA
View Details

NGDC - NEXT GENERATION DATA CENTER 2009
Dates: 8/10/2009 - 8/13/2009
Location: Moscone Convention Center
San Francisco, CA
View Details

LINUXWORLD CONFERENCE & EXPO 2009
Dates: 8/10/2009 - 8/13/2009
Location: Moscone Convention Center
San Francisco, CA
View Details