we work with MQX 4.1 and K70 and are looking for a solution for TCP and stream socket.
We searching a function for TCP socket, they returned the number of received Character from a received TCP-Message, but the Charaktes leaves on the buffer.
Identical to recv() with flag RTCS_MSG_PEEK (for a UDP socket. Receives a datagram but does not consume it, ignored for stream sockets)
Is it a function available?
How can this be realized?
Thank you very much
Unfortunately the RTCS_MSG_PEEK feature for TCP is not implemented in RTCS. You need to make it by yourself .
Sorry for the inconveniences that maybe caused.
I will update you if I have some new info.