Sign in to follow this  
Followers 0
iXX

2-way UDP connection.

3 posts in this topic

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!

 

Share this post


Link to post
Share on other sites



Found solution. :sorcerer:

'?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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0