What happens to incoming data with empty lines in crlf protocol. I have a situation where a packet is made up of multiple lines with crlf and the packet end is signified with an empty line.
example: -
Response: Success\r\n
Message: Authentication accepted\r\n
\r\n
Next packet .....
Can I see the empty line or does the protocol disgard it
In theory it should return you an empty line. If your message isn’t printing out, it’s also possible that the way this is given to you if different from what you’re expecting (or… It really isn’t giving it to you)
What happens if you add a nil check to your log call, and does your handleResponse output appear for the blank line?