如何使用c#编码访问一台计算机的端口到另一台计算机 [英] How to access port of one computer to another computer with c# coding

查看:91
本文介绍了如何使用c#编码访问一台计算机的端口到另一台计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何将一台计算机的端口访问另一台计算机。使用c#编码,我们必须使用端口实现客户端服务器架构。

你知道win 7中的regedit命令吗? 。如何使用它通过regedit为客户端服务器架构连接多个用户。





如何访问Regedit目录?



如何使用端口连接客户端服务器?



如何在Windows应用程序项目中实现端口?



如何从1台电脑到另一台客户端接入端口?





。 .................如果您有解决方案,请使用c#编码发送给我们......................

I want know how can we access port of one computer to another computer.by using c# coding,we have to implement client server architecture using ports.
do you know about regedit command in win 7 .How to use it to connecting multiple user by regedit for client server architecture.


How to access Regedit Directory?

How to use port for connecting client server?

How to implement Port in windows Application Project?

How to access port from 1 pc to another pc of client?


..................if u having solution please send us by using c# coding ......................

推荐答案





首先,我建议你阅读WCF 它可以为您提供关于SOA和Client / Server新技术的非常好的意见logies ;-)



如果你想了解套接字编程,请看这里:

运行Winsock客户端和服务器代码示例

客户端服务器通信 [ ^ ]



这是一个简单的客户端/服务器程序,它可以是对你真的很有用:

聊天客户端服务器 [ ^ ]



和访问RegEdit你可以使用shell命令和许多其他解决方案相同的Microsoft.Win32,只需尝试谷歌或查看这些链接;-)



<小时ef =http://www.codeproject.com/Articles/3389/Read-write-and-delete-from-registry-with-C>使用C#从注册表中读取,写入和删除 [ ^ ]

在注册表中创建密钥(Visual C#) < br $> b $ b

最好的问候。
Hi

First at all I suggest to you read about WCF it can gave you a really good opinion about SOA and Client/Server new technologies ;-)

If you want know about socket programming look at here:
Running the Winsock Client and Server Code Sample
Client Server Communication[^]

This is a simple client/server program it can be really useful for you:
Chat Client Server[^]

and for access RegEdit you can use shell commands and many other solutions same as Microsoft.Win32, just try it google or look at these links ;-)

Read, write and delete from registry with C#[^]
Create a Key In the Registry (Visual C#)

Best Regards.


这篇关于如何使用c#编码访问一台计算机的端口到另一台计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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