Sendmsg() socket API in FreeRTOS

Hi all,
I am scouting for a FreeRTOS equivalent api for the POSIX sendmsg()/recvmsg() api to send and receive data using msghdr structure since I am porting a POSIX codebase to FreeRTOS. The FreeRTOS+TCP/IP stack has only send()/sendto() apis. Is there any existing implementation for the above feature?

You are right, FreeRTOS-Plus-TCP stack doesn’t implement sendmsg(). Does your existing code use control information or ancillary data?

Hi Nikhil,
yes there is some meta data packed with the msghdr.