Re: [twsocket] broadcast sender address

2006-03-04 Thread Robert Van Gemert
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


Re: [twsocket] broadcast sender address

2006-03-04 Thread Wilfried Mestdagh
Hello Robert,

I have no idea. Can you try a very simple new project to demonstrate the
behaviour, and also eventually try exacly the same project in D7 ? Just
to be sure it is nothing wrong with Delphi 2005.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Saturday, March 4, 2006, 09:55, Robert Van Gemert wrote:

 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


Re: [twsocket] broadcast sender address

2006-03-03 Thread Wilfried Mestdagh
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