ZThread is an advanced object-oriented threading and synchronization library, implemented in C++ for POSIX, MacOS, and Win32 systems. It provides an excellent and powerful abstraction from native threads. It includes interruptible thread objects and several other synchronization control objects.
> Would it be possible to get this
> interruption method into Boost::Threads
> ? It lacks ANY way of thread
> cancellation, but is otherwise quite
> well known and elegant. Boost might be a
> good way to get something like this to
> the c++ standard eventually too, which
> might make it truly portable some day.
I think this is probably a good idea too. I would need help convincing Boost though.
Re: Curse of the changing protocols
> ... they could change
> it in a way that would not be easy to
> reverse engineer..
Tell me about it :) I started a project almost 2 years ago to play with ICQ and make my own client, before here were as many as there were now. They changed the protocol twice while I was
doing it in my spare time and that was not great fun.
I looked at some of the packets I had for the newer TCP protocol just for kicks a while ago - how'd they figure that one out? The earlier version were pretty simple, but from glancing at the newer protocol it looked even more goofy as far the strange "encryption" they did goes. I really didn't spend much time on it because I'm too busy now - but does anyone have anything they want to relate about how they went about dechipering that? I'm just curios if there was a faster way than trial and error.
Oh yeah, long story short I never did finish my messenger because of the changing protocols :)
I think it was also, in part, due to my lack of time
and working an other stuff. But you learn alot more than you'd think you were going to learn when you play around with this sort of thing so I suppose it was worth it