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
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
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
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]?
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: twsocket@elists.org
Sent: Thursday, October 05, 2006 4:37 PM
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
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
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
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,
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,
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
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 check
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, Arno Garrels
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 recall
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 networks
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 man in
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
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
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
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]
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
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,
22 matches
Mail list logo