[twsocket] OnDataAvailable received twice

Davie smatters@smatters.com
Tue, 13 Jun 2000 02:47:24 -0500

HeY after making the connection, set the socket's component option to this:


Then tell me if you get 2 events or just one :)


Azrin Aris wrote:

> Hi, I've posted this problem bafore and thanks to Stephen for
> respondingand his suggestions. But still I'm having the problem. So back
> to basic, I test the examples that came with ICS. To my supprise, the
> example also having the same problem. I compiled and execute udpsend and
> udplstn example and the ondataavilailable event is fired twice. To
> confirm this, I make a variable int Count and set it to 0 before
> listening and increase the counter each time the OnDataAvailable was
> fired.
> FYI, I'm using BCB4 on a Win98 box. I've test on several computers in
> but still getting the same result. Any idea why is this happening?
> Cheers,
> Azrin
> _______________________________________________
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm