July 15, 2004

New and improved

Mmm, packets. Now with twice the data.

I shall glory in the moment, for it will be all over tomorrow. Despite the distractions of the Unprintable Project, I got extra large packets implemented for the Hamsters. In the process, I rewrote the interrupt service routine and various other bits and pieces of the code and then troubleshot some resultant connectivity problems. It appears that sockets full of big packets take longer to flush and close, so the reconnection process on the PC side times out. The real reason might be something completely different, but that's what it looked like and the problem was solved by increasing the timeout time.

In any case, the Hamsters now pack their data in big packets. Packets that are not only large, but easily resizable. Packets that are filled through a compact and efficient interrupt service routine. Oh, the joy of it!

Tomorrow I shall attempt to add another feature and things will come to a screeching halt for reasons that will seem obvious once uncovered, but insurmountable until then. For the present, however, I can bask in the idea that I've got something working.

190 words | July 15, 2004 07:18 PM | Rocket science