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
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
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
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
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
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
, 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
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
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
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; }
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
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
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
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
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 ?
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
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
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
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:
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
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
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
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
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:
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
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
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
/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
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
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]
@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
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
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
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
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
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
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
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
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
É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
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!
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
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
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
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
, 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
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
-
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
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
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
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
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
, 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
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)
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,
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
- 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
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
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
-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
´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
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
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
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
64 matches
Mail list logo