Wilfried , Thanks, I am calling ReceiveFrom within OnDataAvailable. When I use ReceiveFrom my application takes 90% of the cpu and remains in this state. If i use Receive my aplication works correctly. I presume ReceiveFrom should not block but in my case it does.
-rvg ----- Original Message ----- From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Saturday, March 04, 2006 6:58 PM Subject: Re: [twsocket] broadcast sender address > Hello Robert, > >> RxBroadcastSocket.ReceiveFrom(@Buffer, SizeOf(Buffer), src, srcLen). >> This function hangs the pc. > > You do call it from inside OnDataAvailable event ? > > --- Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be