pop3 multiline problem

Posted by stupid_idiot on Stack Overflow See other posts from Stack Overflow or by stupid_idiot
Published on 2010-04-24T22:03:54Z Indexed on 2010/04/24 22:13 UTC
Read the original article Hit count: 131

Filed under:
|
|

hi everyone,

i'm making a client for pop3 and somehow i can't figure out how to handle multiline responses. There is no difference in the first response from server whether it is single or multiline, it always ends with CRLF (considering the usual case) so how do I do I know if I should call recv() once more?

© Stack Overflow or respective owner

Related posts about c++

Related posts about pop3