C#如何做一个简单的UDP服务器 [英] C# How to make a simple UDP server
本文介绍了C#如何做一个简单的UDP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以做UDP服务器和客户端使用 UdpClient
类?
我需要从服务器将图像发送到所有客户端。
可一些告诉我一个code样品。我是新来这一点。
Can I make UDP server and client using UdpClient
class?
And I need to send an Image from the server to all Clients.
Can some show me a code sample. I'm new to this.
推荐答案
看看下面的示例codeS:
Check out the following sample codes:
<一个href=\"http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/92846ccb-fad3-469a-baf7-bb153ce2d82b/\">Listener
这篇关于C#如何做一个简单的UDP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文