UdpClient Send Receive

不羁的心 提交于 2019-12-11 05:15:37

问题


First I want to say that I read: UdpClient, Receive() right after Send() does not work?

My question is: is this the normal standard way to handle UDP communications. Set up one UdpClient for send and another for receive?


回答1:


Yes.

This is the standard way to do UDP sockets in .NET




回答2:


you can actually do this on a Server using Sockets as well checkout this link to see if this will help you in anyway.how to configure the server socket



来源:https://stackoverflow.com/questions/8933223/udpclient-send-receive

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!