As in TCP/IP the function recv() will return the receved data, but it may be having more than one message.
I am using SIP prototocol, so my received message is SIP message. I know I can do it by parsing the SIP message and extracting it based on the Content-Length specified in its header.
I...