Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
Thanks for the response :)
Do I need to do anything, define anything?
I am using the SSL socket..

Thanks in advance

-Original Message- 
From: Francois PIETTE

Sent: Thursday, April 28, 2011 8:45 AM
To: ICS support mailing
Subject: Re: [twsocket] Bomb


Could someone please explain,
what this means?

Bomb('Add USE_SSL in the define section in project options');


The code in the unit where such line is included is intended to be compiled
using the USE_SSL symbol defined at the project level. The line is there to
trigger a compilation error should the user forgot to define the symbol.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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


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


Re: [twsocket] Bomb

2011-04-28 Thread Francois Piette
You have to define use_ssl on your project option and rebuild all.
-- 
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.


daniel cc dan...@signedsource.com a écrit :

Hi Francois, Thanks for the response :) Do I need to do anything, define 
anything? I am using the SSL socket.. Thanks in advance -Original 
Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 8:45 AM To: 
ICS support mailing Subject: Re: [twsocket] Bomb  Could someone please 
explain,  what this means?   Bomb('Add USE_SSL in the define section in 
project options'); The code in the unit where such line is included is 
intended to be compiled using the USE_SSL symbol defined at the project level. 
The line is there to trigger a compilation error should the user forgot to 
define the symbol. -- francois.pie...@overbyte.be The author of the freeware 
multi-tier middleware MidWare The author of the freeware Internet Component 
Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings 
for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at 
http://www.overbyte.be -- To unsubscribe or change your
settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at 
http://www.overbyte.be 

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

Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
Thanks for the response.
How do I do this exactly?
I am not sure if understand what i need to do.

Thanks in advance

-Original Message- 
From: Francois Piette

Sent: Thursday, April 28, 2011 9:46 AM
To: ICS support mailing
Subject: Re: [twsocket] Bomb

You have to define use_ssl on your project option and rebuild all.
--
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.


daniel cc dan...@signedsource.com a écrit :

Hi Francois, Thanks for the response :) Do I need to do anything, define 
anything? I am using the SSL socket.. Thanks in advance -Original 
Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 8:45 AM 
To: ICS support mailing Subject: Re: [twsocket] Bomb  Could someone please 
explain,  what this means?   Bomb('Add USE_SSL in the define section in 
project options'); The code in the unit where such line is included is 
intended to be compiled using the USE_SSL symbol defined at the project 
level. The line is there to trigger a compilation error should the user 
forgot to define the symbol. -- francois.pie...@overbyte.be The author of 
the freeware multi-tier middleware MidWare The author of the freeware 
Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or 
change your settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website 
at http://www.overbyte.be -- To unsubscribe or change your
settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website 
at http://www.overbyte.be


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


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

Re: [twsocket] Bomb

2011-04-28 Thread Francois PIETTE

You have to define use_ssl on your project option and rebuild all.



How do I do this exactly?
I am not sure if understand what i need to do.


Delphi menu / Project / Options / Delphi Compiler / Conditional Definitions 
(May vary according to Delphi version)

then add USE_SSL after the existing if any.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


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


[twsocket] Timeout socket request

2011-04-28 Thread Anton S.
Hello all, I have a small request for timeout socket.

By Arno's advice writing to this list.
I recently faced with necessity of tracking ticks inside a socket (actually I 
want to pause it for some time and then resume). As I use BUILTIN_TIMEOUT, I 
tried to attach to TimeoutTimer but it's unaccessible to descendant classes. So 
my suggestion is to somehow make timer itself or its OnTimer event accessible 
from outside. I guess the simplest way is to add published property OnTimer and 
launch it in TimeoutHandleTimer (or maybe TriggerTimer method should be added 
to fully follow ICS event handler style).
I've already implemented this and may share the modifications.

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


Re: [twsocket] Timeout socket request

2011-04-28 Thread Arno Garrels
Anton S. wrote:
 Hello all, I have a small request for timeout socket.
 
 By Arno's advice writing to this list.

Now I have some minutes.

 I recently faced with necessity of tracking ticks inside a socket
 (actually I want to pause it for some time and then resume). As I use
 BUILTIN_TIMEOUT, I tried to attach to TimeoutTimer but it's
 unaccessible to descendant classes.

The timeout feature is not intended for such a purpose.
If you use the BUILTIN_TIMEOUT and need additional lazy timers 
TIcsThreadTimer objects are a good choice because they all get their
timer events from the same internal engine as the BUILTIN_TIMEOUT as
well (the default setting is 1000 timers max. per 'engine' which 
is a worker thread), so beside the additional objects there's not
much stuff added, no threads, no handles, no windows etc. With 
TIcsThreadTimer it is possible to have thousands of timers. See
demo in MiscDemos folder.

-- 
Arno Garrels 





 



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


Re: [twsocket] Timeout socket request

2011-04-28 Thread Anton S.
Arno, thanks for the tip, I'll give it a try.

P.S. I noticed right now that there are useless things in 
TCustomWSocket.WMASyncSelect : TTTCount constant and FSelectMessage field. They 
probably should be removed.

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


Re: [twsocket] FTP Timeout Problem

2011-04-28 Thread Dave Baxter
For a server yes, but it's not trouble if you know the ports it's
configured to use, and make appropriate holes in the Server's firewall.

The client end, even for secure FTP still does not need any
firewall/router meddlings when Passive mode is used, as again it only
makes outgoing connections, just like (well, there are differences) a
web browser going to a secure page.

As earlier, I run a couple of such boxes, and once the server end is
sorted, the clients just work with no fuss at all.

Have a good weekend.

I will *NOT* be watching that wedding, I've got better things to do with
my time! :-)

DaveB
 

 -Original Message-
 From: Angus Robertson - Magenta Systems Ltd 
 [mailto:an...@magsys.co.uk] 
 Sent: 27 April 2011 19:39
 To: twsocket@elists.org
 Subject: Re: [twsocket] FTP Timeout Problem
 
  Any half decent firewall or NAT router, will handle all that 
  transparently.
 
 That is correct for normal FTP, where the router can read the 
 control channel and check the internal IP address and 
 translate it to an external address, but not for SSL since 
 the control connection is encrypted and can not be changed.  
 This is why FTP servers behind NAT are trouble.  
 
 Angus
 
 
 
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] New and smaller OpenSSL libraries

2011-04-28 Thread Arno Garrels
Hi,

Just uploaded latest OpenSSL binaries v0.9.8r and 1.0.0d 
to the wiki site built with VC++ 2008. 
http://wiki.overbyte.be/wiki/index.php/ICS_Download
They are smaller than the those built with MinGW. 
The Win-64 versions are for future 64-bit compilers.

-- 
Arno Garrels


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


Re: [twsocket] New and smaller OpenSSL libraries

2011-04-28 Thread Eugene Kotlyarov
Hi

Could you also update ICSV7 snapshot please, it seems that changelog in it is 
updated, but .pas files are from month ago.

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On 
Behalf Of Arno Garrels
Sent: 28-Apr-11 11:16
To: ICS support mailing
Subject: [twsocket] New and smaller OpenSSL libraries

Hi,

Just uploaded latest OpenSSL binaries v0.9.8r and 1.0.0d 
to the wiki site built with VC++ 2008. 
http://wiki.overbyte.be/wiki/index.php/ICS_Download
They are smaller than the those built with MinGW. 
The Win-64 versions are for future 64-bit compilers.

-- 
Arno Garrels


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


Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
I understand it now.
I didn't get the idea in the first place :(
I tought it should be somehow different and need to be placed in the code..

Sorry for the trouble.

Thanks a lot.


-Original Message- 
From: Francois PIETTE

Sent: Thursday, April 28, 2011 2:29 PM
To: ICS support mailing
Subject: Re: [twsocket] Bomb


You have to define use_ssl on your project option and rebuild all.



How do I do this exactly?
I am not sure if understand what i need to do.


Delphi menu / Project / Options / Delphi Compiler / Conditional Definitions
(May vary according to Delphi version)
then add USE_SSL after the existing if any.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


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


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