473,480 Members | 1,576 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Proxy servers

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.
Nov 20 '05 #1
2 1299
"Tony Vitonis" <no***@nowhere.com> wrote in message
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
Nov 20 '05 #2
Good stuff, Pieter, thanks. (I'm using TCP as the transport
provider.)
Pi****@nospam.mentalis.org 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.

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9836
by: Yang Li Ke | last post by:
Hi guys, What's a good way to detect if an ip is a proxy ? Thanx ! :) -- Yang
6
1709
by: John Sheppard | last post by:
Hello there, I am unsure as to where to ask for help about this, so I thought I might try here. Our website works correctly for 99.9% of customers, however we have one set of customers who...
1
1893
by: yabba | last post by:
can a proxy connection be detected when someone is connecting to our web server using a proxy? tia
4
4439
by: WATYF1 | last post by:
Hello. I'm writing a VB.NET app to check email message counts for both POP3 and IMAP4. I'm using TCPClient to connect, and a NetworkStream to send simple commands. It's a very simple bit of code,...
3
6390
by: Meron Lavie | last post by:
We have written an asp.net app, which is apparently being cached by various British ISP's, and this is recking havoc with our app, as the proxy servers apparently are disregarding the session id...
0
1856
by: Steve Podradchik | last post by:
Hi, We have a commercial app that downloads data from various Web pages (not via a Web Service, per se) and parses the data from the response. The code below works fine most of the time but, in...
10
2889
by: Jim | last post by:
I have seen http://www.vbdotnetheaven.com/Code/Aug2003/2146.asp - but it does not work. I need a working example....if anyone has seen one. Jim
4
5048
by: Sharon | last post by:
Hi all, Can any one explain the relationship between real & transparent proxy? I couldn't fully understand it from the explanation at MSDN. Thanks, Sharon.
2
1599
by: Mufasa | last post by:
Does anybody have any code that will handle proxy servers? Specifically I need something that will handle all the assorted options - no proxy, static proxy, dynamic proxy by a script. TIA - Jeff.
1
4978
by: =?Utf-8?B?Z2FsbGFu?= | last post by:
We have an application that is running fine on several of our customer’s servers. However, one of our customers is having a problem running the application. The application works on one of his...
0
7044
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
5341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4782
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4483
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.