4/16/2008 10:45 AM | |
Joined: 9/27/2006 Last visit: 11/22/2024 Posts: 12297 Rating: (2691) |
Hello; I am not an IT expert, so this answer only engages me; anyone feel free to correct or expand on what I am saying here. UDP and TCP are both protocols that are installed over IP; they use the sam addressing scheme, and are used tosend packets of data over the Internet between communication partners. TCP is used to establish robust and reliable connection over the Internet; it provides flow control by acknowledging reciept of all packets by the reciever, so the sender is aware of the status of all exchanges. TCP can be full duplex. UDP does not acknowledge reciept of the packet, so the sender is not aware of the status of the transmission. If some packets are missing, there is no inbuilt mechanism to retransmit. UDP has therefore less "overhead" (software to communicate between the sender and the reciever), it is faster asnd simpler. But it is not garanteed. SNMP and DNS are two commonprotocols that use UDP-they don't care much is every single packet sentis recieved, the reciever application will request a new transmission if it needs it. so you, as a programmer, have to decide what is more important to you: security or overall speed. Here is a link to a mode detailed explanation on the subject: http://www.laynetworks.com/Comparative%20analysis_TCP%20Vs%20UDP.htm You should also look at Wikipedia, they generally have very good contributors whocan give you great basic info. Hope this helps, Daniel Chartier |
4/17/2008 9:00 AM | |
Joined: 6/22/2006 Last visit: 3/7/2022 Posts: 156 Rating: (17) |
Hi, for a detailed description about UDP and TCP/IP with SIMOTION please have a look to following SIMOTION documents on the documentation CD - \2_Description_of_system_and_functions\Communication.pdf - \2_Description_of_system_and_functions\Basic_TechnologyFct.pdf or to the Online help. You can also find the SIMOTION documents in the Internet: http://support.automation.siemens.com/WW/view/en/10805436/133300 Filter settings: Manuals Manfred |
Follow us on