Talk:lNet

From Lazarus wiki
Revision as of 17:50, 7 November 2006 by Jyl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Hi,
I have some difficulties to use onCanSend property on a TLUDPComponent.
I wanted to use it to send large data streams on the UDP socket.
So I pointed the LUDP.onCanSend on my callback procedure (which will send packet by packet the large data stream) and initialized the transfer by calling the Loopback procedure for each socket.
I was expecting that once the first packet will have been sent, the call back procedure will be fired up again... but nothing.
I was just able to send one packet (relatively small actually: 256 bytes) and that's it!

Could someone tell me what's missing?
Thanks
JYL