How to choose between network communication protocols

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

How to choose between network communication protocols

跳至解决方案
1,469 次查看
lucabarbiero
Contributor IV

Hi,

FreeMASTER seems to support both UDP and TCP/IP network protocols. Based on what considerations should users choose one or the other in their application? What I am after is fast communication and reduced waiting time to download large recorder buffers.

Regards,

Luca barbiero

0 项奖励
1 解答
1,454 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello Luca,

there should not be a significant difference between the two. I would give more trust to a simpler UDP as it requires less user resources and may be a bit faster. The UDP is also closer to the native FreeMASTER protocol, which is a simple datagram-oriented request/response communication. With TCP, the messages are extracted from a data stream which requires a bit more complex processing.

As the network support is still quite fresh, we do not have so much experience with the performance, robustness and other features yet ourselves. You may share your observations from using the UDP and TCP with the community later using this thread.

Thanks,
Michal

 

在原帖中查看解决方案

2 回复数
1,448 次查看
lucabarbiero
Contributor IV

Thank you for the opinion @MichalH, I will share my findings as I get UDP network protocol working for my application.

 
 

 

 

0 项奖励
1,455 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello Luca,

there should not be a significant difference between the two. I would give more trust to a simpler UDP as it requires less user resources and may be a bit faster. The UDP is also closer to the native FreeMASTER protocol, which is a simple datagram-oriented request/response communication. With TCP, the messages are extracted from a data stream which requires a bit more complex processing.

As the network support is still quite fresh, we do not have so much experience with the performance, robustness and other features yet ourselves. You may share your observations from using the UDP and TCP with the community later using this thread.

Thanks,
Michal