Hi,
Looking in the ReadMeV6beta.txt I go the impression that I should
not have to change my code using this version of code.
After install, my code complains at compile time that it can't find
wsocket. Looking in the Vc32 dir, it looks like I need to rename wsocket
to overbyteicswsocket.
Francois,
OK. Fair enough.
Regards,
Andy
Francois Piette wrote:
>> Looking in the ReadMeV6beta.txt I go the impression that I should
>> not have to change my code using this version of code.
>>
>> After install, my code complains at compile time that it can't find
>> wsocket. Looking in the
Hi,
I have a problem with TWSocket.State staying as wsConnecting after I try
and connect.
I am using a thread to execute an SQL query. For each result from this
query, I connect to a remote server using the TWSocket, and send some
data. That's the plan.
In the Thread.Execute procedure, I have
SZ,
Erm, I guess not. What do I need for that or where do I go to find out?
Regards,
Andy
Fastream Technologies wrote:
> Do you have a message pump in the thread.execute?
>
> Regards,
>
> SZ
>
> - Original Message -----
> From: "info2004" <[EMAIL P
ng with send/receive.
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> - Original Message -
> From: "info2004" <[EMAIL PROTECTED]>
> To: "ICS support mailing
ntil
> needed. The bad thing is that there is a single action done in the thread.
> If you want parallel execution in the same thread, use async/events plus
> GetMessage of your own.
>
> Best Regards,
>
> SubZero
>
> - Original Message -
> From: "in
. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> - Original Message -
> From: "info2004" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Thursday, March 08, 2007 6:49 PM
> Subj
Hi,
I have installed Turbo Delphi 2006, OverbyteIcsV6beta.zip, and fastMM that I
downloaded today.
When I exit my program, fastMM is creating a log. A snip of which is:
2007/3/23
15:40:59
A memory block has been leaked. The size is
Arno,
Arno Garrels wrote:
> info2004 wrote:
>> Hi,
>>
>> I have installed Turbo Delphi 2006, OverbyteIcsV6beta.zip, and fastMM
>> that I
>> downloaded today.
>
> You do not need FastMM since it is already built-in BDS2006,
> that's most likely n
Hi,
I am using V6 beta with Turbo Delphi 2006.
Can someone tell me which threaded server demo I should use as my base for an
app please.
MtSrv points you to ThrdSrv. ThrdSrv has ThrdSrv, V2 and V3.
V2 works but does not like WM_TRIGGER_EXCEPTION.
V3 complains at TWSocketThrdServer - not foun
Arno,
Arno Garrels wrote:
> info2004 wrote:
>> Hi,
>>
>> I am using V6 beta with Turbo Delphi 2006.
>>
>> Can someone tell me which threaded server demo I should use as my
>> base for an app please.
>
> AFAIK none of the multi-threading demos is conv
Francois Piette wrote:
> Please take time to register your ICS. See readme.txt for details (In short:
> you must mail a picture postcard to me).
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
Hi,
I have written a server based on OverbyteIcsTcpSrv1.pas.
If I test the original server(OverbyteIcsTcpSrv1.pas) I can make 100
connections
to this server, send some data and then disconnect.
When I test my server, as I run through the 1 to 100 connects, I start to get
disconnects, and when
; Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
>
> - Original Message -
> From: "info2004" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Friday, July 27, 2007 10:36 AM
> Subject: [twsock
Francois,
Francois Piette wrote:
>> It's both machines that limit the connections with my server,
>> but the source server example works just fine.
>
> Not sure I understand...
> Do you mean the sample program delivered with ICS works OK but the code you
> wrote yourself is limited in the number o
Wilfried Mestdagh wrote:
> Hello,
>
>> What does ListenBacklog do?
>
> It sets the maximum number of connections that are pending for
> acception. For example, if it is set to 5, and there are 10 clients
> connecting at the very same moment, only 5 will be in that queue.
> Normally you will never
Francois,
Do you have a shell application to be used as an example?
This looks really useful, but I have no idea on checking task lists and
termination other apps.
Regards,
Andy
Francois Piette wrote:
>> I think of adding several lines of code to monitor the listening status of
>> the TWSocket
Hi,
Allowing port 21 through my router when using TFTPClient caused a data error
when attempting to send a file.
Allowing port 20 cured this.
Sniffing the net showed that 22 has worked in some cases. Also, there is a
difference between active and passive in terms of the extra port used.
Can T
id router or SSL),
> you need to define a manual pasv port range and forward up to 5-6k ports
> from your router. These are the ports that the client will connect to when
> transferring files or folder listings, in PASV mode.
>
> Best Regards,
>
> SZ
>
>
> On
Hi,
I have posted to newsgroups.borland.com, but so far no joy. I am using some ICS
components in my project though;)
The problem I have is getting the ADO stuff to work asynchronously.
I am using a TADOQuery and have set ExecuteOptions to [eoAsyncExecute,
eoAsyncFetch], and have set ADOQuery.
Hi all,
Thanks for the tips. I'm sure that this nudge in the right direction will sort
me out.
Regards,
Andy
Angus Robertson - Magenta Systems Ltd wrote:
>> Instead use TAdoDataset for SELECT only and TAdoConnection /
>> TAdoCommand for other queries
>
> TAdoConnection works fine for SELECT a
Hi,
I am currently using the OnDataSent event of TWSocket to signal my state
machine
to move on. This is working mostly, however, sometimes, the event does not
happen.
Now, at the far side, the server being connected to closes the connection when
it has it's data, so I am thinking that this c
Arno,
Arno Garrels wrote:
> info2004 wrote:
> When the server closes the connection OnSessionClosed triggers.
> In order to check whether component's internal send buffer is empty
> you have property BufferedByteCount.
>
> If your application has to close the connection w
Thanks guys.
Regards,
Andy
Wilfried Mestdagh wrote:
> Hello Andy,
>
>> I think that we are at cross purposes here. The OnDataSent event looks like
>> it
>> does not fire (sometimes) if the far end (server) closes the connection. Is
>> this
>> true?
>
> OnDataSent is fired when TWSocket has de
Hi,
I am logging the time before and after a call to Send. I am sending 60 bytes,
and the Send call is taking 300ms to complete.
Does this sound right?
I am running a P4 2.4GHz 1G ram. I was expecting 10's of ms really.
If this is to be expected, then I won't ask the next question - which woul
Wilfried,
I'll have a look on MSDN and see what they say.
I think that I will try and pad out my data to the min packet size an dsee if
that speeds things up, or screws up the server.
Regards,
Andy
Wilfried Mestdagh wrote:
> Hello Andy,
>
>> I am logging the time before and after a call to Se
Wilfried,
Dan was correct. The time I noted was for Send to return, not for the data to
actually be sent.
Given the 300ms for Send to return, is this to be expected?
If it is, then I will look to optimise elsewhere. But it just seems likely that
something is a miss - wrong option setting maybe
this? Do you have a recent version of ICS?
>
> ---
> Rgds, Wilfried [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> http://www.mestdagh.biz
>
> Thursday, May 15, 2008, 09:09, info2004 wrote:
>
>> Wilfried,
>
>> Dan was correct. The time I noted was for S
Hi,
I am using ICS in my project, but this is not ICS related.
I would like to ask you guys how I can kill a thread created in my main thread,
from the main thread itself.
If the created thread becomes unresponsive due to ADO operation not returning -
not got to the bottom of that one yet, can
Hi,
In my thread (I know, you don't need threads...), in the execute procedure,
should I call WSocket.ProcessMessages, or WSocket.MessagePump?
Are they the same? If not, what is the difference?
Thanks,
Andy
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http:/
Hi again,
When I got my grep correct, I found it in WSocket.pas.
Looks like they are the same when multithreaded is true.
...Andy
info2004 wrote:
> Hi,
>
> In my thread (I know, you don't need threads...), in the execute procedure,
> should I call WSocket.Pr
Arno,
So in execute is it Ok to:
while not terminated do
begin
WSocket.MessagePump;
// check if I need to do something
sleep(100);
end;
// close it all down
Or am I missing the point in the use of the message pump?
Regards,
Andy
Arno Garrels wrote:
> info2004 wrote:
>> In
Francois, and Arno,
>> while not terminated do
>> begin
>> WSocket.MessagePump;
>> // check if I need to do something
>> sleep(100);
>> end;
>> // close it all down
>> Or am I missing the point in the use of the message pump?
>
> Yes, you miss something. The code you've done will be very slo
Thanks every one.
I get the message about custom messages. Excuse the pun.
But one thing puzzles me still.
How would I implement a timeout? Do I create a timer component within the
thread, or is there a more elegant solution?
For example, if there is nothing in the database for me to process,
Arno,
Arno Garrels wrote:
> info2004 wrote:
>> How would I implement a timeout? Do I create a timer component within
>> the thread, or is there a more elegant solution?
>
> A timer is ok since your thread processes messages already :-)
> You could, for example, use an int
Sorry for the OT guys, but I'm not getting any response on
forums.codegear.com, and since you guys know your stuff, I'm hoping for
some tips.
I am using an ADO stored proc to call a stored proc on a MSSQL server.
One of the parameters in the stored proc on the server is a
Decimal(28,20) but de
Angus,
Thanks for the response.
Yes I'm using the stored proc component. No data aware controls.
So, you solution would be something like creating a string:
exec sp_InsertVehicleData;1 '2009/01/17
15:48:12',1,'0358104000636686','0F611B8C',17,$53.5161,$-2.2367,0,$15475.
5996,$0.,$0.,
Angus,
Fantastic answer. Thanks for going the extra distance to explain it.
It's appreciated.
Yep to the application :)
Regards,
Andy
Angus Robertson - Magenta Systems Ltd wrote:
>> exec sp_InsertVehicleData;1 '2009/01/17
>> 15:48:12',1,'0358104000636686','0F611B8C',17,$53.5161,$-2.2367,0
Hi,
I have an application which uses OverbyteIcsFtpCli version V2.108. It's
working great - no problems.
However, a customer wants to use this application through his proxy
(wowproxy), and it's not using transparent mode.
So, anyone used this or similar combo? Can I get it to work?
I googl
you never know?)
Cheers.
Dave B
-Original Message-
From: Info2004 [mailto:info2...@asamicros.com]
Sent: 10 May 2010 09:10
To: ICS support mailing
Subject: [twsocket] FTP through proxy not in transparent mode
Hi,
I have an application which uses OverbyteIcsFtpCli version
V2.108. It
Francois,
Usually non transparent FTP proxies work by connecting to the proxy
itself and then when asked username, entering the real user name
followed by and @ and the remote server name. Sometimes the @ character
is replaced by a # character.
I was under the impression that this was how
Hi,
If the ftp proxy is prompting for account, how should I connect?
Should I set the account string property and call ConnectAsync, or
should I call ConnectAsync then AcctAsync, or just call AcctAsync?
I'm struggling to test as I have no access to the proxy in question,
otherwise I'd just u
l press on and get to the bottom of it somehow.
Thanks,
Andy
you need to find out is what the account details are, that you need to
feed it, so it can give you access to where you (your user) needs to go
to.
Regards.
Dave B.
-Original Message-
From: Info2004 [mailto:info2...@asam
Hi,
I have a site the works fine with Firefox and Chrome, but is problematic
with IE. It used to work until reported faulty yesterday.
There is a button on the page that calls a php script that generates a
file, and prompts the user to save the file.
IE (8) says:
"Internet Explorer cannot d
es, please explain more clearly.
--
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
- Original Message ----- From: "Info2004"
To:
Sent: Friday, December 17,
Thanks for the tip. I'll investigate.
Regards,
Andy
RTT wrote:
Are the headers as you guys would expect?
The "Vary: *" header prevents the response from being cached, so IE
"gets confused" when processing the save attachment request.
--
To unsubscribe or change your settings for TWSocke
Thank you very much. Spot on with your advise.
Added an ETag header to fix my problem.
Regards,
Andy
RTT wrote:
Are the headers as you guys would expect?
The "Vary: *" header prevents the response from being cached, so IE
"gets confused" when processing the save attachment request.
--
Hi,
I have been using the ftp client component for a couple of years now
without a hitch. Until recently. The version is 7.09.
I have in the main thread a timer that runs a state machine to control
logging in and sending of the files. But recently, the state machine
stalls and times out. I h
On 31/01/2012 17:41, Arno Garrels wrote:
I guess the server did not send a response to the STOR
request after the client successfully established the data
connection. Since this is async mode your application
should have detected and handled a request timeout.
Arno,
What is the correct way to
On 31/01/2012 19:05, Brian Culverwell wrote:
probably your backend ftp server has been changed to 'binary' type - and
when receiving your request to STOR the .csv file - it is issuing a type A
to change the mode to ASCII
You could force the Type A before issuing your STOR.
Brian,
Do you mean
OK.
Thanks.
On 31/01/2012 21:46, Brian Culverwell wrote:
before each STOR
On Wed, Feb 1, 2012 at 6:27 AM, Info2004 wrote:
On 31/01/2012 19:05, Brian Culverwell wrote:
probably your backend ftp server has been changed to 'binary' type - and
when receiving your request to STO
ging all RequestDone events, and nothing is reported when I
stall. I have attached the csv that shows the last good transfer, then
the stall. If an alternative format is preferred, just ask.
Ideas?
Thanks,
Andy
On 31/01/2012 15:43, Info2004 wrote:
Hi,
I have been using the ftp client compo
for 18012012_1014360_leeEcersley.csv
215 13.191241 192.168.1.31 65.212.180.79 TCP 66 54818 > ftp [ACK]
Seq=578 Ack=1889 Win=66642 Len=0 TSval=443120743 TSecr=384654264
On 01/02/2012 15:00, Info2004 wrote:
Hi,
Some additional information after hooking up wireshark.
I have attached a csv of the capt
Arno,
Thanks. I will check that out.
If it persists, I will do as advised and upload the file and post a link.
Regards,
Andy
On 01/02/2012 17:00, Arno Garrels wrote:
Info2004 wrote:
Hi,
Some additional information after hooking up wireshark.
I have attached a csv of the capture.
The
Hi,
I have some old projects on D2006 that get tweaked from time to time.
Using V6? No major new development.
Anything new is now using XE.
...Andy
On 28/03/2012 19:59, François Piette wrote:
Hi !
I’m planning the next ICS version…
Being unable to use any features added to Delphi in the
55 matches
Mail list logo