Windows应用程序的套接字编程 [英] Socket Programing for windows application

查看:74
本文介绍了Windows应用程序的套接字编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在开发这两个系统中通过局域网连接的一些testcontroller应用程序.我在一个列表框中有两个列表框和两个按钮,我有一组复选框,用户可以选择那些复选框并单击移动"按钮我在每个复选框上都有一些列出的命令集,然后单击将在另一个listbox2上列出的那些命令.我还有一个名为"sendto"的按钮.用户将从listbox2中选择命令列表,也许是单个或多个命令,并且上述操作正在进行在system1中,单击发送"按钮,所选命令应在命令提示符下的另一个system2中显示.这就像客户端服务器一样,一个系统充当客户端,它将发送命令,另一个将接收该命令. Windows应用程序使用c#.我不知道该怎么做.

任何人都可以帮我吗.

谢谢,

Hi,

I''m developing some testcontroller application in this two system are connected through LAN.I have two listbox and two button in one listbox i have set of checkbox the user will be able to select those checkbox and click of ''move'' button i have some listed set of commands on each checkbox click those i will be listed on another listbox2.I have one more button called "sendto".The user will select list of commands from listbox2 maybe single or multiple commands and the above action is going on in system1 click the "sendto" button the selected commands should be displayed in another system2 in the command prompt.Its like client-server one system is acting as client which will send commands and another will receive that commands.I have created gui in windows applicatiop using c#.I have no idea how to do this.

Can any1 help me on this.

Thanks,

推荐答案

看看以下文章之一:
^ ]

最好的问候
Espen Harlinn
Have a look at one of these articles:
c# Client Server CodeProject[^]

Best regards
Espen Harlinn


正在开发Espen关于如何找到大量有用样本的想法(解决方案1):
http://www.codeproject.com/search.aspx ?doctypeid = 1& q =%22C%23%22 + client + server [ http://bit.ly/MDXKKm [ ^ ].

—SA
In development of the Espen''s idea (Solution 1) on how to find plenty of useful samples:
http://www.codeproject.com/search.aspx?doctypeid=1&q=%22C%23%22+client+server[^],
http://bit.ly/MDXKKm[^].

—SA


这篇关于Windows应用程序的套接字编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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