Proxy servers

  • Thread starter Thread starter Tony Vitonis
  • Start date Start date
T

Tony Vitonis

Hello. I've written a little app to synchronize my machine with a
time server. It won't run at my place of business, though, because we
use a proxy server there.

I'm not sure even where to begin. How might I add proxy server
support to my app? Thanks.
 
Tony Vitonis said:
Hello. I've written a little app to synchronize my machine with a
time server. It won't run at my place of business, though, because we
use a proxy server there.
I'm not sure even where to begin. How might I add proxy server
support to my app? Thanks.

Most proxies support the SOCKS4 and/or the SOCKS5 protocol
[www.socks.nec.com]. You can implement that protocol and then layer our time
synchronization code over your SOCKS implementation.
We've already done something like that with our ProxySocket class
[http://www.mentalis.org/soft/class.qpx?id=9]. However our implementation
doesn't implement the full SOCKS5 protocol [UDP is not supported --
something that you're probably using in your time service]. Anyhow, it may
give you some ideas to start your own implementation.

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
Good stuff, Pieter, thanks. (I'm using TCP as the transport
provider.)
(e-mail address removed) wrote:

Most proxies support the SOCKS4 and/or the SOCKS5 protocol
[www.socks.nec.com]. You can implement that protocol and then layer our time
synchronization code over your SOCKS implementation.
We've already done something like that with our ProxySocket class
[http://www.mentalis.org/soft/class.qpx?id=9]. However our implementation
doesn't implement the full SOCKS5 protocol [UDP is not supported --
something that you're probably using in your time service]. Anyhow, it may
give you some ideas to start your own implementation.
Tony Vitonis wrote:

Hello. I've written a little app to synchronize my machine with a
time server. It won't run at my place of business, though,
because we use a proxy server there.

I'm not sure even where to begin. How might I add proxy server
support to my app? Thanks.
 
Back
Top