Posted on September 28, 2014

Little time in the last couple of days, but I did (finally!) work out that the nonsense results I was getting from getaddrinfo() was because it was actually giving me an error return that I was ignoring. I hadn’t created the name ms.flare.email in the DNS, but The fetch-mref script didn’t notice this problem because I’d hardwired the server name! The error handling’s already a bit messy; I have a hunch I may end up doing something like djb’s nested strerr’s, but for now let’s just get it to basically work…

Excellent! The check-fetch script now actually fetches a message! Lots of tweaking to do (mainly to do with handling errors), but it’s fantastic to see the proof-of-concept code working.