I know, I know. It has been over a month since my last post. Sadly, this graduate project of mine has been taking up all of my time.
Of course the time spent has not been a waste. In fact, it has been far from it. Part of the project involves users participating in a multiplayer trivia game done in Adobe Flash. The idea is that Flash will communicate with PHP via ZendAMF and PHP will talk to a C++ server via network packets. Since I haven’t written in C++ in ~3-4 years, it has taken me a bit to get back into the hang of things.
Things have changed since the last time I wrote in C++, especially because now I’m writing for a Linux OS, using direct network communication, and running in a threaded environment. I followed some people’s advice and started to look into the Boost Libraries. After about a week of frustration working with Boost.Thread and Boost.ASIO, I realized that everything I need to do can be done with pthread.h and sys/socket.h.