Back to C++ ! (5h)
Posted on December 1, 2003
No way I was going to continue the C route. The overhead is too painful. I am back to good old OOP. Finished rewriting the socket and http classes today. I started working on Ssdp messages (Search, Notify and Response) to realize that they are just HTTP requests and responses. The only thing I noticed is that being sent over UDP, the parsing is different. It needs to read the whole datagram and not 1 byte at a time, otherwise it fails. I need to figure out a clean way to abstract that …