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 Vc32 dir,
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
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 PROTECTED]
To: ICS support mailing twsocket
.
--
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 twsocket@elists.org
Sent: Thursday, March 08, 2007 5:46 PM
Subject: [twsocket] TWSocket
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: info2004 [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
PROTECTED]
http://www.overbyte.be
- Original Message -
From: info2004 [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Thursday, March 08, 2007 6:49 PM
Subject: Re: [twsocket] TWSocket not connecting for me
Francois,
Thanks for the response.
The .State
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
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 not different in the Turbos.
I did not know that.
In order
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
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 converted to V6 yet.
ThrdSrv uses a design one thread per (client
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
- Original Message -
From: info2004 [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, July 27, 2007 10:36 AM
Subject: [twsocket] What determines the number of concurrent connections?
Hi,
I have written a server based on OverbyteIcsTcpSrv1.pas.
If I
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 of
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 have
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
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
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 as
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
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 when all data
has been sent
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
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 Send.
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
[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 Send to return, not for the data to
actually be sent.
Given the 300ms for Send to return
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,
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
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.ProcessMessages, or WSocket.MessagePump
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 my thread (I
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 slow at
processing
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 integer that is incremented
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
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.
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
-
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's working great - no problems.
However, a customer wants to use
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
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...@asamicros.com]
Sent: 17 May 2010 09:54
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
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 info2...@asamicros.com
To: twsocket@elists.org
Sent: Friday
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.
--
To
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
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
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
OK.
Thanks.
On 31/01/2012 21:46, Brian Culverwell wrote:
before each STOR
On Wed, Feb 1, 2012 at 6:27 AM, Info2004info2...@asamicros.com 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
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 component for a couple
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 capture.
What it shows me is that I get the 150 from the server, I
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
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
50 matches
Mail list logo