Hi all,
I carefully reread a FAQ and see other scenario.
Divide process into two pieces, download information from WEB site into main
thread (ClientConnection) and run thread after data received only for database
work.
My application is NNTP server with downloading information from one site, pu
Hello Wilfried
Today i made some test and the results are not good for me. I colud no t
find the error that triggger the exceptior but i find that for each
exception i have an 'empty' connection (no ip no port).
I will make a little explanacion of my code. My service is a tcp server very
sim
Hello Arno,
> So I will forget that and sleep well in the future, anyway it's much
> faster w/o a check, and I like it fast ;-)
Yes you can sleep on both of your ears (Flemish proverb);
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
--
To
In a message, Arno Garrels wrote:
> I'm writting a small C/S protocol. It includes sending/receiving
> database records.
Maybe you are interested by MidWare ? Did you had a look at it ?
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.ov
Hi!
I want use THttpCli within TTread, but when I close application it eception
with AV at address 0
Code follow
constructor TBaseThread.Create;
begin
inherited Create(False);
FreeOnTerminate := True;
HttpClient := THttpCli.Create(nil);
{
HttpClient.Agent := 'Anatoly Podgor
Arno Garrels schrieb:
>
> I wasn't sure about how Winsock/ICS handles simple data corruption.
> What would happen if it happens?
A ethernet 802.x packet is a struct of:
preamble (8 byte) | destination (6 byte) | source (6 byte) | length (2 byte)
| data (46-1500 byte) | fcs (4 byte)
If fcs (frame
I have also upgraded my server and client framework to use ICS 6 and it is
running just excellent.
I´m using ICS 6 on my camera surveillance software, so the server should be
able to manage hundreds simmultaneous connections and should be able to work
on extreme load scenarios. ICS 6 is totally
Hello Arno,
> I wasn't sure about how Winsock/ICS handles simple data corruption.
> What would happen if it happens?
Packets are resent. The amount of packets is depending the size of the
receive window. If memory serve the receive window (where TCP send ACK)
can be till 8 kb.
---
Rgds, Wilfried
Francois PIETTE wrote:
>> I'm writting a small C/S protocol. It includes sending/receiving
>> database records.
> => No need: TCP stream already has error detection and correction
I wasn't sure about how Winsock/ICS handles simple data corruption.
What would happen if it happens?
> To detect "ma
> I'm writting a small C/S protocol. It includes sending/receiving
> database records.
> Would you suggest to send and check a MD5 checksum?
> May be it is OK to live with this overhead only upon database write
> requests?
Why send MD5 checksum ?
To detect errors ?
=> No need: TCP stream already h
Wilfried Mestdagh wrote:
> Hello Arno,
>
>> What happens in ICS when a corrupted packet has been received?
>> Is DataAvailable being triggered with an error > 0 ?
>
> I assume you use TCP.
Yes I do.
> No need for additional check. I never have seen
> a corrupt packet in TCP. Even not on radio
Hello Arno,
> What happens in ICS when a corrupted packet has been received?
> Is DataAvailable being triggered with an error > 0 ?
I assume you use TCP. No need for additional check. I never have seen a
corrupt packet in TCP. Even not on radio networks where there is planty
of noise.
If I recal
Fastream Technologies wrote:
> Hello Arno,
>
> AFAIK TCP already does CRC per packet so MD5 may be a bit expensive
> (doing additionally).
What happens in ICS when a corrupted packet has been received?
Is DataAvailable being triggered with an error > 0 ?
>
> Regards,
>
> SZ
>
> On 10/5/06, Ar
Hello Arno,
AFAIK TCP already does CRC per packet so MD5 may be a bit expensive
(doing additionally).
Regards,
SZ
On 10/5/06, Arno Garrels <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm writting a small C/S protocol. It includes sending/receiving
> database records. Would you suggest to send and c
Hello,
I'm writting a small C/S protocol. It includes sending/receiving
database records. Would you suggest to send and check a MD5 checksum?
May be it is OK to live with this overhead only upon database write
requests?
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mail
Arnold FLUTEAUX wrote:
> Hi,
>
>
>
> In authenticate event of ftpserver, I do some tests and if my tests
> aren't ok, I set "authenticated" (one param of event) to false. But
> my clientcount is yet with this client. So I must do:
>
> Authenticated :=false;
>
> PostMessage(ftpserveur.Handle,
> It seems the Client[] is not up to date. Perhaps we should remove the client
> from there when the disconnect signal is received? (not when the object is
> destroyed?)
The only reason I can think about is that there is eather an exception
error in the OnClientDisconnect event, or something with
Hi,
In authenticate event of ftpserver, I do some tests and if my tests aren't
ok, I set "authenticated" (one param of event) to false. But my clientcount
is yet with this client. So I must do:
Authenticated :=false;
PostMessage(ftpserveur.Handle, WM_FTPSRV_CLOSE_REQUEST,
It seems the Client[] is not up to date. Perhaps we should remove the client
from there when the disconnect signal is received? (not when the object is
destroyed?)
Best Regards,
SubZero
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent:
Hello Fastream,
But if a client disconnect with an error in high traffic, which events
are you logging ? Seems a wierd problem to me...
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
--
To unsubscribe or change your settings for TWSocket m
Hello Miguel,
> However I want to ask something to, Is there a theory for the connections
> without IP and PORT that shows the TWsocketServer.client[i]?
No I have no theory at the momen. With empty IP and Port, which
properties do you exacly mean ?
> in case that some timeotu expired, the code
Yes we have the same problem even though no exceptions are raised. This
occurs with high traffic--especially sockets disconnecting with
errors/abort.
Regards,
SZ
- Original Message -
From: "Miguel Cañas" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 05, 2006 4:37 PM
Subject: Re: [t
Thank you for the answer Wilfried
Im following your suggestios and I will test the Wsockets events today with
try .. except blocks to try to find the error.
However I want to ask something to, Is there a theory for the connections
without IP and PORT that shows the TWsocketServer.client[i]?
Ok. I see the point now.
Thanks,
SZ
- Original Message -
From: "Kris Leech" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, October 05, 2006 11:56 AM
Subject: Re: [twsocket] Writing a transparent HTTP proxy
: Fastream Technologies wrote:
:
: >Not exactly. No real answer
Hello Miguel,
BGException is background exception. It comes from the message pump.
This means it can come also from your code in one of the TWSocket
events. To test put them all in a exception block until you found the
error (if it is over there of course).
Socket operation on a non socket means
Fastream Technologies wrote:
>Not exactly. No real answer for my actual question...
>
>
I dont think you can support virtual hosts for http 1.0, is this what
you are saying. You could support http 1.0 if you had a public IP per
host if you really needed to.
>
>On 10/4/06, Kris Leech <[EMAIL P
I'm still disconnected from the mailing list.
I have subscribed using my private account in the hope of solving the
problem.
Sorry if I haven't answered your questions.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://
Hello,
We have a HTTPS reverse proxy written with v6 and after long days of stress
testing, we found it rather stable and much more efficient than v5.
Regards,
SZ
- Original Message -
From: "Erich Kuba" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, October 05, 2006 10
Hi All,
I've been using the ICS components for about 6 or 7 years now, and I have to
say well done to Francois and everyone else who has contributed over the
years. I've written some reasonably large server oriented systems using the
TWSocket component as the basis for a server framework that I'v
Thanks for the tip but could not get the FtpCommon.pas, it is not on the
Davie's web site (deadlink). If you have, could you post it to me thanks..
Fastream Technologies <[EMAIL PROTECTED]> wrote: Then I think you have no other
choice then issuing a LIST and parsing the
folder listing with Davi
Hi
I am using TwSocketServer in a service application that receives information
from a POS Machine (using TCP) and I am having problems with the number of
clients that shows WSocketServerEx.ClientCount. In some cases clientcount
return more connections than the number of machines that I have c
31 matches
Mail list logo