RTCS_MSG_PEEK — for a TCP socket

取消
显示结果 
搜索替代 
您的意思是: 

RTCS_MSG_PEEK — for a TCP socket

422 次查看
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

标签 (1)
0 项奖励
1 回复

239 次查看
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 项奖励