RTCS_MSG_PEEK — for a TCP socket

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTCS_MSG_PEEK — for a TCP socket

691 Views
klausconzelmann
Contributor I

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

Klaus

Labels (1)
0 Kudos
Reply
1 Reply

508 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Klaus:

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.

Regards

Daniel

0 Kudos
Reply