OpaQue
Aug 29 2004, 01:17 AM
User Datagram Protocol Unlike TCP, the User Datagram Protocol (UDP) does not present data as a stream of bytes, nor does it require that you establish a connection with another program in order to exchange information. Data is exchanged in discrete units called datagrams, which are similar to IP datagrams. In fact, the only features that UDP offers over raw IP datagrams are port numbers and an optional checksum. UDP is sometimes referred to as an unreliable protocol because when a program sends a UDP datagram over the network, there is no way for it to know that it actually arrived at it’s destination. This means that the sender and receiver must typically implement their own application protocol on top of UDP. Much of the work that TCP does transparently (such as generating checksums, acknowledging the receipt of packets, retransmitting lost packets and so on) must be performed by the application itself. With the limitations of UDP, you might wonder why it’s used at all. UDP has the advantage over TCP in two critical areas: speed and packet overhead. Because TCP is a reliable protocol, it goes through great lengths to insure that data arrives at it’s destination intact, and as a result it exchanges a fairly high number of packets over the network. UDP doesn’t have this overhead, and is considerably faster than TCP. In those situations where speed is paramount, or the number of packets sent over the network must be kept to a minimum, UDP is the solution.
Reply
Eric Straven
Aug 30 2004, 06:23 AM
Since UDP isn't paid much attention or importance, viruses and worms often use the UDP Protocol to spread themselves. For example, when all other methods of spreading itself fails, the blaster worm uses UDP Port 69, which is the common access port for TFTP(Trivial File Transfer Protocol), to spread itself to other computers. Firewalls like Zone Alarm can block UDP ports that are known to be used by worms/viruses to spread themselves. Hackers can also run port-scans on servers and unprotected UDP ports can sometimes allow them to compromise the system....
Reply
jcguy
Sep 5 2004, 02:39 PM
Just a question... are the ports actual ports on our computers? Or do they exists somewhere on the net?
Reply
Hercco
Sep 7 2004, 10:12 PM
QUOTE(jcguy @ Sep 5 2004, 04:39 PM) Just a question... are the ports actual ports on our computers? Or do they exists somewhere on the net? Well... they aren't actual, they're bits. And they exist on our computers and and in the net, as our computers are the net. Ports are there to define which packets belong to which applications. They are like apartment numbers in snail mail. You can think that the IP address is the house's address and number (ie. Somestreet 11) and port is the apartment number (ie b 4). Simply put UDP is a "fire and forget" protocol. It sends the datagram but doesn't give a shit if it ever mades through. But like Opaque mention UDP has it's uses. Mainly these are for streaming live audio and video. For example on a phone conversation it really doesn't matter if every packet mades through, atleast if the alternative would be increased lag. One packet missing from speech doesn't affect much on how well the actual message is received, but if it was, say a zip file, transfered one inverted bit could mean loss of the entire data. But that's why there are different protocols for different tasks.
Reply
Is it possible to have multicasted UDP packets in the same way as IP multicast? My question is referred to a discussion i had concerning UDP packets sent from a server (S1) to its clients, to be sent also to another server (S2) saving as much BW as we can. I think a multicast UDP packet could be the solution.
Reply
Hercco
Sep 7 2004, 10:22 PM
QUOTE(daf @ Sep 8 2004, 12:18 AM) Is it possible to have multicasted UDP packets in the same way as IP multicast? UDP doesn't replace IP in the protocol stack, it replaces TCP. And IP doesn't care which protocol lies on top of it, it just does it's job  .
Reply
QUOTE(Hercco @ Sep 8 2004, 12:12 AM) ... But like Opaque mention UDP has it's uses. Mainly these are for streaming live audio and video. For example on a phone conversation it really doesn't matter if every packet mades through, atleast if the alternative would be increased lag. One packet missing from speech doesn't affect much on how well the actual message is received, but if it was, say a zip file, transfered one inverted bit could mean loss of the entire data. But that's why there are different protocols for different tasks. All the online gaming world is also based on UDP packets: it's necessary to send as quick as possible data from server to clients no matter if they receive all the packets.
Reply
killer
Sep 9 2004, 02:54 AM
QUOTE(daf @ Sep 7 2004, 10:49 PM) All the online gaming world is also based on UDP packets: it's necessary to send as quick as possible data from server to clients no matter if they receive all the packets. Ok here is the problem some people complain that they cant coonect to my game server casue they have the same ip is there any way that can be resolved ?? please let me know.
Reply
daf
Sep 10 2004, 07:47 PM
QUOTE(killer @ Sep 9 2004, 04:54 AM) Ok here is the problem some people complain that they cant coonect to my game server casue they have the same ip is there any way that can be resolved ?? please let me know. I really don't think "same IPs" is your clients connection problem. It will be probably a firewall matter. You will need to open some ports to let data exchange. IPs on internet can't be the same, IP uniqueness is an internet fundamental feature.
Reply
Hercco
Sep 14 2004, 09:16 AM
It is possible to be behind same IP address. If computers are connected to a switch/router which uses NAT (network address translation), all the computers have unique IP addresses inside the LAN, but from outside all traffic seems to come from same IP address (ie. the routers address)
Reply
arunkumarhg
Mar 21 2005, 12:04 PM
but what about the state of the packates and their security in UDP Protocol when compared to TCP/IP?
Reply
Recent Queries:--
new 478 pin cpu - 1.43 hr back. (1)
-
kinds of operating system - 17.38 hr back. (1)
-
kinds of linux operating system - 23.00 hr back. (1)
-
fead optimizer index.html - 40.73 hr back. (1)
-
uses of operating systems - 64.02 hr back. (2)
-
different kind of operating system - 87.04 hr back. (1)
-
free computer operating systems - 102.49 hr back. (1)
-
different operating systems - 116.72 hr back. (1)
-
5 kinds of operating system - 118.39 hr back. (1)
-
computer hope/operating systems - 125.59 hr back. (1)
-
3 kinds of os "operating systems" - 132.57 hr back. (1)
-
different kind of os - 134.39 hr back. (1)
-
free operating system - 154.87 hr back. (2)
-
different kinds of operating system - 17.36 hr back. (5)
Similar Topics
Keywords : User Datagram Protocol Udp- Windows Scheduler Can Elevate User Rights.
- (7)
- What Is: Ftp?
- File Transfer Protocol (11)
FTP stands for File Transfer Protocol. A protocol is a language that enables computers to speak to
one another. FTP is used to make files and folders publicly available for transfer over the
Internet. In some cases you may need to get permission from the network computer's administrator
to log on and gain access to files on the computer. But often you'll find that you can use FTP
to gain access to certain networks or servers without having an account, or being an official
password holder, with that computer. /cool.gif' border='0' style='vertical-align:middle' ...
Looking for user, datagram, protocol, udp
|
*SIMILAR VIDEOS*
Searching Video's for user, datagram, protocol, udp
|
advertisement
|
|