In a message regarding Re: What is the correct method for synchronous client-server calls? dated Wed, 18 Apr 2007 10:41:19 +0200, Guillermo said that ...
> I have the same problem using socket.poll, the loop consumes a lot of > CPU cycles while waiting for the answer: Any chance of refactoring your code into two methods? Method1 does the stuff up to the poll then stops The socket's dataAvailable event calls Method2 Method2 calls Method1 again, if necessary Real life being more complex than that usually, I'm sure it will need more thought than that but just in case you hadn't considered it... -- Steve Garman Using REALbasic Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
