如何从c#程序中的lan设备中获取。 [英] how to get out put from a lan device in a c# program.

查看:66
本文介绍了如何从c#程序中的lan设备中获取。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台通过局域网进行通信的设备。我不断发送一些数据。我怎么能在c#程序中接受它。我需要的是,当我输入一个ip并按下获取结果按钮时,结果必须显示在结果文本框中。任何人都可以在Windows窗体应用程序上提供一个小的示例源代码。

I have a device that communicate through lan. I constantly sending a some data. how can i accept that in a c # program. My need is that when i input an ip and press the get result button the result must be shown in the result text box. can anyone can provide a small example source code on windows form application.

推荐答案

谷歌的套接字c#,你会发现很多例子和教程。
Google for "sockets c#" and you will find many examples and tutorials.


这篇关于如何从c#程序中的lan设备中获取。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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