Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.protocols.tcp-ip    |    TCP and IP network protocols.    |    14,669 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 12,832 of 14,669    |
|    Spin to All    |
|    Re: UDP/TCP NAT question.    |
|    04 May 09 16:37:12    |
   
   3e43665e   
   From: Spin@invalid.com   
      
   "SpreadTooThin" wrote in message   
   news:84463688-89d6-4650-9b25-521e283b759e@u9g2000pre.googlegroups.com...   
   >Ok.. I guess I didn't ask this question right...   
   >Let me try again.   
   >If I send a UDP message to and IP address. What is the best way to   
   >ensure it actually does arrive.   
   >particularly if the client is in china and the host is in Canada...   
   >What is the probability of success!?   
   >High/Low/Medium/Zilch.   
      
   You phrased your Q right and these were answered in the other posts I think.   
   But I'll re-state...If you send a UDP message to an IP address, the best way   
   to ensure it actually does arrive is to have some "response mechanism" built   
   into the packet - that means if you are not a programmer you are using a   
   toll which employs something like ping - when you ping a host it is using an   
   ICMP echo request and it will receive an ICMP echo reply back - that way you   
   know the packet arrived. You could send a SNMP trap to a host and have some   
   kind of script running on that host which when it receives that trap will   
   respond back with another trap - or something else altogether. In short,   
   UDP is unreliable - the packet in and of itself is not guaranteed to get   
   there. So in my example above, if some router along the path is blocking   
   ICMP and SNMP and over the Internet many frequently do (I know SNMP has to   
   be turned on it is off by default), you will never get back a reply. So   
   there is no way of guaranteeing it will get there but you can be reasonably   
   sure that if it does a reply is expected based on the type of UDP protocol   
   you are using.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca