Jump to content

2-way UDP connection.


iXX
 Share

Go to solution Solved by iXX,

Recommended Posts

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

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.
autoit_scripter_blue_userbar.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...