[twsocket] IcsWndControl

2012-12-14 Thread Éric Fleming Bonilha
Hello all First of all, I would like to congratulate the ICS team for the wonderful job in creating a way to share windows handles for processing messages. I´m now extensively using this mechanism in all our application. One question though, why is the default limit of 100 messages

[twsocket] RES: Should next ICS version support anything before Delphi XE ?

2012-04-02 Thread Éric Fleming Bonilha
François I currently use D2010 but I plan to migrate to XE2 soon Anyway, D2010 already implements unicode and generics, so, supporting from 2010 to XE2 is a good option Eric -Mensagem original- De: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] Em nome de François

Re: [twsocket] ICS and FireMonkey

2011-10-13 Thread Éric Fleming Bonilha
Does this means that the new ICS works in MACOS? Does TWSocket class works OK in MAC? Thanks Eric -Mensagem Original- From: Arno Garrels Sent: Thursday, October 13, 2011 5:44 AM To: ICS support mailing Subject: Re: [twsocket] ICS and FireMonkey Fastream Technologies wrote: I

Re: [twsocket] ICS and FireMonkey

2011-10-13 Thread Éric Fleming Bonilha
No, current ICS does not support OS X, however I'm working on it, it's however still very experimental and there does not even exist a public svn branch. I add my current work to my IPv6 local working copy. Hum, thats ok, by the time that we start porting our software (in about 1 year) you

Re: [twsocket] Socket flushing

2011-08-01 Thread Éric Fleming Bonilha
If the reason that you call the Flush method is because you want to be sure all is sent before closing the socket then you can better call ShutDown(1) method. Yes, thats it, it is something like this Socket.Send(@Data[0], Length(Data)); Socket.Close; But I have found that if my data is small

Re: [twsocket] Socket flushing

2011-08-01 Thread Éric Fleming Bonilha
Then use Shutdown(2); Easy to do a testcase for Eric I think. His proposition to use Close() is not good, CloseDelayed should give a little better but not on a LAN. I see The problem is that I can´t wait, because actually this is can be even done on classes destructors such as: procedure

Re: [twsocket] Socket flushing

2011-07-29 Thread Éric Fleming Bonilha
, will it fail everytime if I don´t call the message pump? In this case an infinite loop would happen right? Eric -Oorspronkelijk bericht- Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] Namens Éric Fleming Bonilha Verzonden: maandag 25 juli 2011 14:50 Aan: ICS support

Re: [twsocket] Socket flushing

2011-07-25 Thread Éric Fleming Bonilha
Nobody knows??? Eric -Mensagem Original- From: Éric Fleming Bonilha Sent: Friday, July 22, 2011 5:35 PM To: ICS support mailing Subject: Re: [twsocket] Socket flushing What issues? It is a weird issue... it actually creates a stack overflow because in some parts of my app I need

Re: [twsocket] Socket flushing

2011-07-22 Thread Éric Fleming Bonilha
What issues? It is a weird issue... it actually creates a stack overflow because in some parts of my app I need to call flush, and flush calls the messageloop and on messageloop some timer routines are called that enters again on the same routine to flush the socket! it is complicated... and

[twsocket] Socket flushing

2011-07-21 Thread Éric Fleming Bonilha
Hi I´m having some issues with socket flushing due to the messageloop that it calls: procedure TCustomWSocket.Flush; begin while (FHSocket INVALID_SOCKET) and { No more socket } (not bAllSent) do begin { Nothing to send } { Break; }

Re: [twsocket] Showstopped bug in ICS

2011-07-04 Thread Éric Fleming Bonilha
Never done somthing like that, I guess you have to ensure that data is processed in the right order with such a design, as with Windows IOCP sockets as well. No problem here, I have a worker thread system, the data will always be processed in right order Yes, I understand, but there's a

Re: [twsocket] Showstopped bug in ICS

2011-07-01 Thread Éric Fleming Bonilha
I know this is by design, but I believe that is why you have added wsoNoReceiveLoop so we don´t have to receive data in OnDataAvailable... By reading the socket using OnDataAvailable event I reached a bottleneck, my software wasn´t being able to process over 150mbits of incomming data because

Re: [twsocket] Showstopped bug in ICS

2011-07-01 Thread Éric Fleming Bonilha
Arno I use multiple threads to read the data from sockets, I actually have a thread pool that process data. This is my current code for OnDataAvailable from sockets: procedure TTCPSocketThread.HandleOnSocketDataAvailable(Sender: TObject; ErrCode: Word); begin // We can´t proceed on

[twsocket] Showstopped bug in ICS

2011-06-30 Thread Éric Fleming Bonilha
Hi I believe I found a showstopper bug in ICS that lead my software to crash in many customers. The problem is with wsoNoReceiveLoop option from socket! In my program, I have to use wsoNoReceiveLoop in order to better process the data, I don´t want to process the data from the thread that

Re: [twsocket] IPv6 support ?

2011-06-08 Thread Éric Fleming Bonilha
Arno, On this subject, does ICS team plans to release official support for IPv6? Eric -Mensagem Original- From: Arno Garrels Sent: Tuesday, June 07, 2011 3:16 PM To: ICS support mailing Subject: Re: [twsocket] IPv6 support ? Max Terentiev wrote: Does ICS v6-v7 support IPv6 ?

Re: [twsocket] Multicast question

2011-05-27 Thread Éric Fleming Bonilha
Hi Emanuele Thanks again for the code, now I understand better the concept of IGMP groups I used multicast on wan. Our customer wanted this setting. I see, I will leave an option for my software for the user to configure the TTL, I´m using default 1 (LAN only) Using wireshark, when a

Re: [twsocket] Multicast question

2011-05-26 Thread Éric Fleming Bonilha
fBlackList.Clear; end; end. Il 26/05/2011 06:48, Éric Fleming Bonilha ha scritto: Hi I´m wondering how to use ICS properly to send and receive Multicast data. Where can I find example for multicast and ICS? I´m in doubt about the IGMP protocol, do I need to implement anything on application layer or does

[twsocket] Multicast question

2011-05-25 Thread Éric Fleming Bonilha
Hi I´m wondering how to use ICS properly to send and receive Multicast data. Where can I find example for multicast and ICS? I´m in doubt about the IGMP protocol, do I need to implement anything on application layer or does IGMP protocol is implemented on underlying stack automatically? How

Re: [twsocket] UDP receive issue from a Windows service

2011-04-20 Thread Éric Fleming Bonilha
François This could sound silly.. but is your Firewall active? We have a service application that receives UDP packets and we only have issues when windows firewall is active Eric -Mensagem Original- From: Francois PIETTE Sent: Monday, April 18, 2011 4:47 AM To:

Re: [twsocket] UDP Receive problem

2011-04-15 Thread Éric Fleming Bonilha
HI François Thanks for the advices Having two separet thread is not enough. You have to closely look at how the receiving thread communicate with the processing/display thread. For example if you use synchronize, you actually defeat the multithreading. Same with SendMessage. You must keep

Re: [twsocket] UDP Receive problem

2011-04-14 Thread Éric Fleming Bonilha
HI François I thought on processing speed, but I use a separated thread for I/O communication and for testing I have only 1 socket and still dropping some packets. And for testing, at a given time, the processor usage is always 0%. The received data is not even large, I can notice drops in

[twsocket] UDP Receive problem

2011-04-13 Thread Éric Fleming Bonilha
Hi I´m experiencing a very weird problem and I hope someone can help me My application receives UDP data from IP Cameras, somehow we are not receiving some packets, but by using a network sniffer I can see that the packet was received, but the application never receives it! I´m using TWSocket

[twsocket] Strange UDP behaviour

2011-02-28 Thread Éric Fleming Bonilha
Hi I don´t know if this message is OT, maybe slight OT, but I´m facing an interesting problem with UDP datagrams and Windows 7/2008 stack Well, we have a scenario where a machine can´t receive over 30 mbits of UDP data on a local gigabit ethernet, and to make it worse, the whole windows

Re: [twsocket] ICS And WebServices (SOAP)

2008-06-05 Thread Éric Fleming Bonilha
Arno, And ICS and be used to make a webservice? Using the http server Éric - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 05, 2008 5:56 AM Subject: Re: [twsocket] ICS And WebServices (SOAP) DZ-Jay wrote:

Re: [twsocket] Host lookup blocks the main thread

2008-06-05 Thread Éric Fleming Bonilha
But the main thread should not be blocked right? - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 05, 2008 5:56 AM Subject: Re: [twsocket] Host lookup blocks the main thread Éric Fleming Bonilha wrote: Hello

[twsocket] Host lookup blocks the main thread

2008-06-04 Thread Éric Fleming Bonilha
Hello, I´m having a strange problem with ICS On our architecture we use TWSocket client components on separated threads because of lengthy operations so our main thread will not be blocked, but we are having such a strange problem, when our software tries to connect to an invalid host name

[twsocket] ICS Client Thread Safe

2008-05-12 Thread Éric Fleming Bonilha
Hello, I would like to know if the Send routine of TCustomWSocket is thread safe. Can I have for example one client class connected to my server and have a some threads sending data to the server over this connection? Thanks Éric -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Connecting and Disconnecting

2008-04-02 Thread Éric Fleming Bonilha
/teamics.html http://www.mestdagh.biz Tuesday, April 1, 2008, 22:15, Éric Fleming Bonilha wrote: Hello What is the implication on the TCP control of disconnecting and connecting using the same TWSocket object? what I mean is that: FSocket.Disconnect; FSocket.Addr := 'x.x.x.x'; FSocket.Port := '80

[twsocket] Connecting and Disconnecting

2008-04-01 Thread Éric Fleming Bonilha
Hello What is the implication on the TCP control of disconnecting and connecting using the same TWSocket object? what I mean is that: FSocket.Disconnect; FSocket.Addr := 'x.x.x.x'; FSocket.Port := '80'; FSocket.Connect; What is the implication of doing that on sequence?? I ask that

Re: [twsocket] ICS and TService

2008-03-31 Thread Éric Fleming Bonilha
Alexander, I don´t think so.. My app is totally service and works the same way as like a normal app, we didn´t made anything special Éric - Original Message - From: Alexander Makhanev [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, March 31, 2008 1:30 PM Subject: [twsocket]

Re: [twsocket] Fw: TWSocketServer maximum productivity

2008-03-30 Thread Éric Fleming Bonilha
@elists.org Sent: Saturday, March 29, 2008 9:57 AM Subject: Re: [twsocket] Fw: TWSocketServer maximum productivity Éric Fleming Bonilha wrote: I had this problem sometime ago, it was the very same message and occurs when client connects.. Your AV was at 7C8224B2 (dll-version?) Alexander's is at 7C92BD02

Re: [twsocket] Fw: TWSocketServer maximum productivity

2008-03-30 Thread Éric Fleming Bonilha
to listen on multiple ports). -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Éric Fleming Bonilha wrote: Hello Arno, Your AV was at 7C8224B2 (dll-version?) Alexander's is at 7C92BD02 (dll-version?), so may or may not be the same problem. Maybe it is because of the dll

Re: [twsocket] Fw: TWSocketServer maximum productivity

2008-03-28 Thread Éric Fleming Bonilha
Hello Alexander, I had this problem sometime ago, it was the very same message and occurs when client connects.. Unfortunally we didn´t found the fix for it because we couldn´t reproduce this error easily with our app. I suggest you to use Eurekalog, this is an error catching library, so you

Re: [twsocket] ICS V7 and the missing ''DesignIntf.dcu''

2008-03-16 Thread Éric Fleming Bonilha
When do ICS V7 was released?? Where can I download Éric - Original Message - From: Kris Schoofs [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, March 15, 2008 4:23 PM Subject: [twsocket] ICS V7 and the missing ''DesignIntf.dcu'' Hi, I'm attempting to

Re: [twsocket] IP Camera

2008-03-14 Thread Éric Fleming Bonilha
Hello Mark My software Digifort www.digifort.com.br is all written in Delphi / ICS Éric - Original Message - From: zayin [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Friday, March 14, 2008 12:49 PM Subject: [twsocket] IP Camera Hi, Has anyone done any work

Re: [twsocket] IP Camera

2008-03-14 Thread Éric Fleming Bonilha
of demo source code for getting the image from the camera you would like to share? Thanks, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Fleming Bonilha Sent: Friday, March 14, 2008 11:03 AM To: ICS support mailing Subject: Re: [twsocket] IP

Re: [twsocket] IP Camera

2008-03-14 Thread Éric Fleming Bonilha
PROTECTED] On Behalf Of Éric Fleming Bonilha Sent: Friday, March 14, 2008 12:07 PM To: ICS support mailing Subject: Re: [twsocket] IP Camera Hi Mark, Actually the Digifort architecture is very complex because we need to have compatibility with a lot of different IP cameras (We have now support

[twsocket] TWSocket problems

2007-05-26 Thread Éric Fleming Bonilha
and the software simply stop working because it will not reconnect to the host Have you ever see this kind of problem? Éric Fleming Bonilha Desenvolvedor Digifort - Sistema de Segurança Digital +55 (11) 4226.2386 http://www.digifort.com.br/ -- To unsubscribe or change your settings for TWSocket mailing list

[twsocket] Client close exception and connection doubt

2007-04-13 Thread Éric Fleming Bonilha
Hello all, I want to discuss an architectural issue here I´m debugging an application of mine and yesterday it has stopped working and I got the following EurekaLog call stak information |00507C4D|Servidor.exe|OverByteICSWSocket.pas|TCustomWSocket |RaiseException

Re: [twsocket] Client close exception and connection doubt

2007-04-13 Thread Éric Fleming Bonilha
Éric, Since ICS works asynchronous a reconnect-timer should be started from event handler OnSessionClosed, is that the case? Also the best place to destroy the object is from OnSessionClosed as well. But the OnSessionClosed event will be triggered if I try to connect to an inacessible

Re: [twsocket] Client close exception and connection doubt

2007-04-13 Thread Éric Fleming Bonilha
You have to call Abort once Connect has been called and OnSessionClosed has not been triggered yet to abort the session. Then in OnSessionClosed start the timer or post a custom message if you want to reconnect at once. Ok, now I undestood, I will try to implement on that way Thank you Arno!

Re: [twsocket] Client close exception and connection doubt

2007-04-13 Thread Éric Fleming Bonilha
Hello Wilfried, What is exacly the exception message ? The exception that was raised was Socket operation on non-socket (#10038 in Disconnect (closesocket)). and it was raised on this: |00507C4D|Servidor.exe|OverByteICSWSocket.pas|TCustomWSocket |RaiseException

Re: [twsocket] TWSOCKET Access violation at address7C8224B2inmodule'ntdll.dll'

2007-04-03 Thread Éric Fleming Bonilha
Message - From: Éric Fleming Bonilha [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, March 23, 2007 4:48 PM Subject: Re: [twsocket] TWSOCKET Access violation at address7C8224B2inmodule'ntdll.dll' Hello Arno Possibly there's still a similar problem at another place

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2inmodule'ntdll.dll'

2007-03-23 Thread Éric Fleming Bonilha
Hello Arno Possibly there's still a similar problem at another place in (Overbyte)IcsWSocket.pas. Can you please change your code like below and report back whether that helps or not? procedure TCustomWSocket.Dup(NewHSocket : TSocket); .. // FSelectEvent := FD_READ or FD_WRITE or FD_CLOSE

[twsocket] TWSOCKET Access violation at address 7C8224B2 in module 'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
Hello all! I´m having a strange problem on my app using ICS 6, I have noticed that my server service raises an exception Access violation at address 7C8224B2 in module 'ntdll.dll' but I didn´t got where the problem is happening, analysing the error logs I realised that this error is being

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2 inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
, a listening socket doesn't send nor receive any data so those } { notification are useless. } Sounds like the same problem. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Éric Fleming Bonilha wrote: Hello all! I´m having

Re: [twsocket] TWSOCKET Access violation at address 7C8224B2inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
the same problem. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Éric Fleming Bonilha wrote: Hello all! I´m having a strange problem on my app using ICS 6, I have noticed that my server service raises an exception Access violation at address 7C8224B2 in module

Re: [twsocket] TWSOCKET Access violation at address7C8224B2inmodule'ntdll.dll'

2007-03-22 Thread Éric Fleming Bonilha
- From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, March 22, 2007 3:41 PM Subject: Re: [twsocket] TWSOCKET Access violation at address7C8224B2inmodule'ntdll.dll' Éric Fleming Bonilha wrote: [..] Error 3/6/2007 6:37:27 PM Servidor.exe None 0 N

[twsocket] Data flow control

2007-01-05 Thread Éric Fleming Bonilha
Hello all! I´m wondering if it is possible to control the receiving flow rate for the TCP connection using the ICS. I think that this is something that is not implemented on ICS, so, I should implement it by my self, but I have no idea on how to make it. Let me explain why I need this flow

Re: [twsocket] Data flow control

2007-01-05 Thread Éric Fleming Bonilha
actually, what I mean is to implement Traffic Control - Original Message - From: Éric Fleming Bonilha [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, January 05, 2007 5:51 PM Subject: [twsocket] Data flow control Hello all! I´m wondering if it is possible to control

Re: [twsocket] TCP stack problems 2003

2006-11-27 Thread Éric Fleming Bonilha
Wilfried, I have never seen this kind of problem. I also have a client / server application that runs onder W2003, 2000, XP and it just works fine, I have also tested on windows Vista and it works great. My Client / Server app is more heavy, it can have transmissions for over 100mbps, but it

Re: [twsocket] TCP stack problems 2003

2006-11-27 Thread Éric Fleming Bonilha
application using V5. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, November 27, 2006, 21:19, Éric Fleming Bonilha wrote: Wilfried, I have never seen this kind of problem. I also have a client / server application that runs onder

Re: [twsocket] Flow control

2006-11-19 Thread Éric Fleming Bonilha
, to make this flow control. Ps. My data is also random... Hope I could help you Éric Fleming Bonilha Digifort - Original Message - From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, November 19, 2006 8:22 AM Subject: Re: [twsocket] Flow control

Re: [twsocket] HttpSvr send picture stream

2006-11-19 Thread Éric Fleming Bonilha
Hello, I have developed something similiar to your needs on my application, I have an HttpSrv that should send an internal stored JPEG to the clients over an GET request to this JPEG, and it is working just fine, please check this code, this should be implemented on CommandGET event (ICS 6)

Re: [twsocket] How stable is ICS V6 ?

2006-10-05 Thread Éric Fleming Bonilha
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

[twsocket] Multithreaded Client Application

2006-08-07 Thread Éric Fleming Bonilha
Hello, I´m writing a multi-threaded client application I read the ICS code and there is written that to make a real multi-threaded application we should do ThreadAttach and use the messageloop procedure on the execute method of the working thread. I´m doing this, but, how do I stop this

Re: [twsocket] Multithreaded Client Application

2006-08-07 Thread Éric Fleming Bonilha
- Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 12:25 PM Subject: Re: [twsocket] Multithreaded Client Application Éric Fleming Bonilha wrote: So, one doubt that I have is, if I´m using a thread to process

Re: [twsocket] Multithreaded Client Application

2006-08-07 Thread Éric Fleming Bonilha
Thanks a lot Arno! :) - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 2:13 PM Subject: Re: [twsocket] Multithreaded Client Application Éric Fleming Bonilha wrote: the Execute should be something

Re: [twsocket] Multithreaded Client Application

2006-08-07 Thread Éric Fleming Bonilha
Hello Wilfried, Thank you so much, you clarified me even more :) Now I know how I need to do the job :) Thank you all Éric Fleming Bonilha - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 07, 2006 2:37

Re: [twsocket] UDP Concept doubt

2006-07-04 Thread Éric Fleming Bonilha
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Fleming Bonilha Sent: 03 July 2006 13:42 To: twsocket@elists.org Subject: [twsocket] UDP Concept doubt Hello Everyone! I´m in doubt in some aspects of UDP. Do UDP suffers from fragmentation like TCP

[twsocket] UDP Concept doubt

2006-07-03 Thread Éric Fleming Bonilha
´m thinking if UDP packet will be fragmented and will be received in one or more events on ICS Thanks a lot Éric Fleming Bonilha -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http

[twsocket] ICS 6 Bug

2006-04-28 Thread Éric Fleming Bonilha
I have posted a message days ago and no one has told anything, please, the problem specified here is not a bug of my application, is a possible bug of ICS that must be corrected, this is a memory leak bug that I found on the FreeWndHandler routine of ICS, can any ICS Team members or even

[twsocket] ICS 6 Bug - Memory Leak

2006-04-25 Thread Éric Fleming Bonilha
I´m using FastMM4, by declaring FastMM4 as first unit of my project, and when I close my application it says that there is 1 memory leak on module TIcsWndHandlerList. This bug occurs even on the demo applications provided on ICS package I have read the code of unit OverbyteIcsWndControl and I

Re: [twsocket] ICS 6 Bug - Memory Leak

2006-04-25 Thread Éric Fleming Bonilha
Message - From: Éric Fleming Bonilha To: twsocket@elists.org Sent: Tuesday, April 25, 2006 5:06 PM Subject: ICS 6 Bug - Memory Leak I´m using FastMM4, by declaring FastMM4 as first unit of my project, and when I close my application it says that there is 1 memory leak on module