AnsweredAssumed Answered

RTCS_MSG_PEEK — for a TCP socket

Question asked by Klaus Conzelmann on Aug 10, 2016
Latest reply on Aug 12, 2016 by Daniel Chen

Dear Support,


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

Best regards