EldoS | Feel safer!

Software components for data protection, secure storage and transfer

NAT Traversal

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#12225
Posted: 01/27/2010 18:01:52
by Malcolm Toon (Standard support level)
Joined: 01/20/2010
Posts: 22

Another quick MC question.. If one computer is behind a firewall (C1)(that has access to the second computer) and the second computer is not (C2), from a TCP/IP perspective, the first machine will be able to connect and send information to the second computer, but C2 will never be able to open a connection to C1. Will MC always use the connection initiated by the first computer to send messages back and forth?

Scenarios:
1) C1 connects to C2 and uses SendMessage; will C2's reply be sent along the connection opned by C1?
2) Will all subsequent messages (whether initiated by C1 or C2) be transported along the connection opened by C1?
3) Does the Socks connection stay open for the .ConnectionTimeout property? Is there anyway to automatically send keep-alive messages or should I build that in?

Thank you again!
-Malcolm
#12229
Posted: 01/28/2010 00:48:17
by Eugene Mayevski (EldoS Corp.)

Quote
Malcolm Toon wrote:
Will MC always use the connection initiated by the first computer to send messages back and forth?


yes.

Quote
Malcolm Toon wrote:
1) C1 connects to C2 and uses SendMessage; will C2's reply be sent along the connection opned by C1?
2) Will all subsequent messages (whether initiated by C1 or C2) be transported along the connection opened by C1?


yes

Quote
Malcolm Toon wrote:
3) Does the Socks connection stay open for the .ConnectionTimeout property? Is there anyway to automatically send keep-alive messages or should I build that in?


You would need to have your own keep-alive messages using PostMessage.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2180 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!