That's a neat POP3 library, any thoughts about IMAP access too?
One minor quibble: Your sample code contains a couple of exploitable buffer overflows.
I guess this isn't a huge problem as the code is clearly sample code, and isn't installed setuid() or anything silly like that. I just have a reflex action of trying to persuade people to always be more careful...
int main(int argc,char** argv){ int mysock; char myservername[64]; char username[64]; char password[64];// Time passes ...
strcpy(myservername,argv[1]); strcpy(username,argv[2]); strcpy(password,argv[3]);
// Thorin sits down and starts singing about gold ..