how to implement IP filtering in FRDMk64

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to implement IP filtering in FRDMk64

跳至解决方案
967 次查看
sudhakarp
Contributor V

hi,

     i want to receive data from particular IP only. so i want to do IP filtering. but i dnt know how to implement that one.

i am using kds2.0 IDE

thanks and regards,

sudhakar p

1 解答
779 次查看
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi,

You should be able to do that by using the recvfrom() function. Only datagrams from that source will be received if a remote endpoint has been specified

with connect().

I hope this helps you.


Have a great day,
Garabo

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
780 次查看
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi,

You should be able to do that by using the recvfrom() function. Only datagrams from that source will be received if a remote endpoint has been specified

with connect().

I hope this helps you.


Have a great day,
Garabo

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复