Hi Brad, Thanks very much for your tip. At first glance it didn't seem to help as I don't do virtually anything in the Connected Event but rather in the Data Available Event. But I decided to try and put almost all of the information from my Data Available Event into a timer with a mode of 2 and a period of 200. This causes the data to keep trying to be sent through until it finds a space and gets in. The sockets are no longer hanging and the data is going through correctly and steadily.
Much appreciated. This fix has taken me a week of major stress to do so it's nice to have it going nicely, now. All the best. Cindy > Cindy, > > Tough to tell from your description whether you are making the socket > send all that data or not, and if you are, whether you're doing so > from the Connected event handler. If you are, try making a timer with > period = 1 that actually does the sending. Then, in "Connected", set > the mode of the timer to 1. If that works, it's because Connected > just isn't a safe place to do a ton of work, as it blocks the rest of > the socket system. Just a WAG... > > -Brad -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 191, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 <http://www.kowhaiprogramming.com/> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
