iXX Posted February 16, 2015 Share Posted February 16, 2015 Hello! With the help file, I understand how to make UDP client - to - server communication. But this is only one - way communication. What if I want to send something from the server back to the client, for example integrity check? It would be easy to make clients AND servers on both sides, BUT the situation is, the client is under NAT (and therefore its listening server would accept nothing). I see in the firewall - network connection window that some applications (i.e. OpenVPN) is sending data BOTH ways in the ONE (from the client side outgoing) UDP connection, so somehow is it possible. And how to do it in AutoIt? ThanX! Link to comment Share on other sites More sharing options...
argumentum Posted February 17, 2015 Share Posted February 17, 2015 With the help file, I understand how to make UDP client - to - server communication. ... ... And how to do it in AutoIt? UDP = 1 way, TCP = 2 way TCP makes a connection, UDP is connection-less http://www.cyberciti.biz/faq/key-differences-between-tcp-and-udp-protocols/ http://stackoverflow.com/questions/5970383/difference-between-tcp-and-udp I hope this clarifies it for you. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Solution iXX Posted February 19, 2015 Author Solution Share Posted February 19, 2015 Found solution. '?do=embed' frameborder='0' data-embedContent>> Here is described (last post) how server can answer to the client by UDP packet using the same ports. This is the way to pass back trought the NAT/firewalls - it is handled as "established connection", so it is allowed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now