New topic: TCPSocket array
<http://forums.realsoftware.com/viewtopic.php?t=47033> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message mapmusic Post subject: TCPSocket arrayPosted: Fri Feb 22, 2013 6:52 am Joined: Tue Oct 30, 2012 4:23 am Posts: 14 Hello, I made app for monitoring PC apps via TCP. Recently I add "Multi Monitor" mode which allows checking all defined apps. I created for it multi page window with infobars, which are created via NEW command as arrays. So in real if I have defined 18 PCs, there are e.g 18 labels, 18 icons, 18 rectangles etc.. and 18 TCPSockets . All as arrays. Problem is if "DataAvailable" fires, CPU usage raises to 99% for a couple of seconds and app is unresponsive. Between events app shows 1-3 % of CPU. Maybe workflow with TCPSocket as array is not good, but what other way is acceptable ? Thanks Martin _________________ --- @MacOS 10.7.5/MBPro Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
