[twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread GSE Sas
I set exact Proxyname and port but I receive the error message as follows:

HTTP 407 Authentification du proxy obligatoire - Le serveur ISA requiert 
l'autorisation d'exécuter la demande. L'accès au service du proxy Web est 
refusé. (12209)
Internet Security and Acceleration Server

What data I must add?
Proxypassword or Proxyusername

I don't found info about this properties!

Tks for your Help

R. Greborio



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] [OT]Data remoting

2005-07-23 Thread Info 2004
Hi,

Sorry for the OT nature of the request, but can anyone point me to 
examples/tutorials for D2005 to show me how to use data remoting?

If there is a better list to ask this on, just let me know.

Thanks...

...Andy
-- 
ASA Micros Ltd.
141 Wardle Road,
Wardle,
Rochdale.
OL12 9JA
UK

Tel: +44(0)1706 355057
Company No. 4722262
VAT No. 704044772

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [OT]Data remoting

2005-07-23 Thread Francois PIETTE
 If there is a better list to ask this on, just let me know.

Yes, there is a better place: delphi@elists.org (as you see: same server, 
different list). Visit www.elists.org to subscribe.
--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: Info 2004 [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Saturday, July 23, 2005 12:47 PM
Subject: [twsocket] [OT]Data remoting


 Hi,

 Sorry for the OT nature of the request, but can anyone point me to
 examples/tutorials for D2005 to show me how to use data remoting?

 If there is a better list to ask this on, just let me know.

 Thanks...

 ...Andy
 -- 
 ASA Micros Ltd.
 141 Wardle Road,
 Wardle,
 Rochdale.
 OL12 9JA
 UK

 Tel: +44(0)1706 355057
 Company No. 4722262
 VAT No. 704044772

 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Francois PIETTE
Are you sure the usercode/password you provide are OK ?
Have you checked with latest beta version available separately from ICS 
download page ?

--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: GSE Sas [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, July 23, 2005 11:42 AM
Subject: [twsocket] Proxy authorization in HTTPCli


I set exact Proxyname and port but I receive the error message as follows:

 HTTP 407 Authentification du proxy obligatoire - Le serveur ISA requiert
 l'autorisation d'exécuter la demande. L'accès au service du proxy Web est
 refusé. (12209)
 Internet Security and Acceleration Server

 What data I must add?
 Proxypassword or Proxyusername

 I don't found info about this properties!

 Tks for your Help

 R. Greborio



 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread GSE Sas
Yes is last version.
Actually I don't use Proxy username and password because I don't where I can 
find this data!!
Also how set options in this case?


- Original Message - 
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, July 23, 2005 1:19 PM
Subject: Re: [twsocket] Proxy authorization in HTTPCli


Are you sure the usercode/password you provide are OK ?
Have you checked with latest beta version available separately from ICS
download page ?

--
[EMAIL PROTECTED]
http://www.overbyte.be

- Original Message - 
From: GSE Sas [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, July 23, 2005 11:42 AM
Subject: [twsocket] Proxy authorization in HTTPCli


I set exact Proxyname and port but I receive the error message as follows:

 HTTP 407 Authentification du proxy obligatoire - Le serveur ISA requiert
 l'autorisation d'exécuter la demande. L'accès au service du proxy Web est
 refusé. (12209)
 Internet Security and Acceleration Server

 What data I must add?
 Proxypassword or Proxyusername

 I don't found info about this properties!

 Tks for your Help

 R. Greborio



 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] TFtpClient Timeouts?

2005-07-23 Thread Keith Willis
Hi All,

What's the best way to detect if a timeout has occurred in a TFtpClient
operation?

Regards,
Keith Willis.


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Francois PIETTE
 Have you checked with latest beta version available separately from ICS
 download page ?

 Yes is last version.

Just to be sure: there is a zip file with HTTP component _only_. This is the 
beta I was talking.

 Actually I don't use Proxy username and password

Doh !

 because I don't where I can find this data!!

Obviously, you have to ask the system administrator which
usercode/password he configured for you.
If you have a browser already configured, you may have a look at his 
configuration for the usercode. It is likely that the password will be 
masked.

 Also how set options in this case?

You must have usercode/password if any configured on the proxy.

--
[EMAIL PROTECTED]
http://www.overbyte.be

 - Original Message - 
 From: Francois PIETTE [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Saturday, July 23, 2005 1:19 PM
 Subject: Re: [twsocket] Proxy authorization in HTTPCli


 Are you sure the usercode/password you provide are OK ?
 Have you checked with latest beta version available separately from ICS
 download page ?

 --
 [EMAIL PROTECTED]
 http://www.overbyte.be

 - Original Message - 
 From: GSE Sas [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Saturday, July 23, 2005 11:42 AM
 Subject: [twsocket] Proxy authorization in HTTPCli


I set exact Proxyname and port but I receive the error message as follows:

 HTTP 407 Authentification du proxy obligatoire - Le serveur ISA requiert
 l'autorisation d'exécuter la demande. L'accès au service du proxy Web est
 refusé. (12209)
 Internet Security and Acceleration Server

 What data I must add?
 Proxypassword or Proxyusername

 I don't found info about this properties!

 Tks for your Help

 R. Greborio



 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Latest version of TFtpClient?

2005-07-23 Thread Francois PIETTE
V2.99 dated May 26, 2005 is the latest version available.
Creation date is in the header, release date is in the history.

--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: Keith Willis [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Saturday, July 23, 2005 5:00 PM
Subject: [twsocket] Latest version of TFtpClient?


 Hi All,

 What's the latest version of the TFtpClient component?

 I have the following:

 Creation: May 1996
 Version:  V2.99

 I just wondered if there had been any changes since the following 
 revision:

 May 26, 2005 V2.99 Fixed Md5Async to correctly use MD5 command. Thanks to
 Johan 'Zarkow' Munkestam [EMAIL PROTECTED].


 Regards,
 Keith Willis.


 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TFtpClient Timeouts?

2005-07-23 Thread Francois PIETTE
 What's the best way to detect if a timeout has occurred in a TFtpClient
 operation?

A TTimer.
--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-23 Thread Merijn Terheggen
Here you go:

'http://help.lycos.com' redirects into
'http://help.lycos.com/network_1_help.asp'.

'http://help.lycos.com/network_1_help.asp' redirects into
'http://help.lycos.com/network_1_help.asp', which is into itself.
After the 2 LocationChange events, there will be 2 RequestDone events.
The first one with a StatusCode = 0 and the second one with a
StatusCode = 200.

--Merijn


On 7/23/05, Francois PIETTE [EMAIL PROTECTED] wrote:
  Why is there a RequestDone event while the StatusCode is still zero
  anyway?
 
 I would be interested in finding a reproductible case where it occurs.
 --
 [EMAIL PROTECTED]
 http://www.overbyte.be
 
 
 - Original Message -
 From: Merijn Terheggen [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Saturday, July 23, 2005 6:04 PM
 Subject: [twsocket] HttpCli StatusCode = 0 causes problems
 
 
 I noticed some behavior of HttpCli that caused me a LOT of headaches
  before I discovered what was going on and made a work-around.
 
  This mail is to ask you:
  - If the behavior that I noticed indeed happens the way I describe
  - If the behavior is consiously designed this way or needs to be changed
 
  On the RequestDone event, the StatusCode can be 0. I only notice this
  happen rarely in certain cases of a redirect (FollowRelocation set to
  'true'). If I've seen things correct, there can be ANOTHER RequestDone
  event following in this case.
 
  Why is this a problem? The RequestDone event is typically used to
  process the HttpCli data. After processing, the client potentially
  could get deleted since it has no function anymore (as happens in my
  code at least). However, another RequestDone event following the first
  one when the client has been deleted already causes access violations
  etc.
 
  The only way to be sure the RequestDone event is the 'final' event
  seems to be a check on the StatusCode. In case the StatusCode = 0, I
  let the event handler return because another RequestDone event will
  follow.
 
  Why is there a RequestDone event while the StatusCode is still zero
  anyway?
 
  Thanks,
 
  --Merijn
  --
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
 
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-23 Thread Steve Endicott
I don't know if this applies to your situation or not but I have seen a 
StatusCode of 0 in log files from our customers.  Most often, we find that 
Norton Internet Security, or Norton Firewall is blocking the responses and 
giving us the StatusCode of 0.  I have them check Norton and they usually 
find that Norton is blocking our program.  Clearing that blocking gets rid 
of the StatusCode of 0.

Steve Endicott


At 09:04 AM 7/23/2005, you wrote:
I noticed some behavior of HttpCli that caused me a LOT of headaches
before I discovered what was going on and made a work-around.

This mail is to ask you:
- If the behavior that I noticed indeed happens the way I describe
- If the behavior is consiously designed this way or needs to be changed

On the RequestDone event, the StatusCode can be 0. I only notice this
happen rarely in certain cases of a redirect (FollowRelocation set to
'true'). If I've seen things correct, there can be ANOTHER RequestDone
event following in this case.

Why is this a problem? The RequestDone event is typically used to
process the HttpCli data. After processing, the client potentially
could get deleted since it has no function anymore (as happens in my
code at least). However, another RequestDone event following the first
one when the client has been deleted already causes access violations
etc.

The only way to be sure the RequestDone event is the 'final' event
seems to be a check on the StatusCode. In case the StatusCode = 0, I
let the event handler return because another RequestDone event will
follow.

Why is there a RequestDone event while the StatusCode is still zero anyway?

Thanks,

--Merijn
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Maurizio Lotauro
On 23-Jul-05 14:36:18 GSE Sas wrote:

Yes is last version.
Actually I don't use Proxy username and password because I don't where I can
find this data!!

Try user and password used to login into windows.


Bye, Maurizio.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Acting as Server/Client

2005-07-23 Thread Wesley Spadola
I am creating a program that acts as both a server and a client.  It
will connect to other instances of itself running on other computers as
well as listen for other connections.

I was wondering if it is possible to have one TWSocket component,
derived from another TWSocket class but essentially has methods that
will be able to handle clients (eg Listen etc) as well as act as a
client itself (eg Connect etc).

TCustomWSocket looks close, but obviously lacks the OnClientConnect and
Clients[x] etc that would let me code server side routines easily.

I would like to do this to prevent myself from writing two separate
components, but especially having to write two potentially large
OnDataAvailable handlers.

Is such a capability available?  What would I have to do?

Cheers,
Wes
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be