由于lpc的udp传输 [英] On account of lpc's udp transmission

查看:83
本文介绍了由于lpc的udp传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用lpc1769,所以我想通过UDP进行通信,但是我不知道该怎么做.现在,我寻求帮助来完成udp_close函数!谢谢!

I''m using lpc1769,so I want to communicate by the UDP,but I don''t know how to do it. Now I ask for help to complet the udp_close function!thank you !

推荐答案

使用udp,您可以传输请求,只是让套接字坐一会儿,直到响应收到.然后关闭套接字,并处理返回的缓冲区数据.

无论是TCP还是UDP,都可以打开套接字,然后将其关闭.

您是在指.net吗?
With udp, you transmit your request, and just let the socket sit for awhile until a reponse is received. Then you close the socket, and process the buffer data returned.

Whether it''s TCP or UDP, you open the socket, and then close it.

Are you referring to .net?


现在我不对那部分进行网络编程,这是PC在lpc1768板之间进行通信.
Now I do not network programming that part, is the PC communicate between the lpc1768 board.


这篇关于由于lpc的udp传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆