通过c#套接字在局域网中连接两台计算机 [英] connect two computers in lan via c# socket

查看:125
本文介绍了通过c#套接字在局域网中连接两台计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在局域网中连接两台计算机
请重播我

how can i connect two computers in LAN
please must replay me

推荐答案

这是链接

here is the link

Here[^]


Google是您的朋友:很好,经常拜访他.与在这里发布问题相比,他可以更快地回答问题.

一个简单的搜索 使用您的问题主题 即可为您提供答案.
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=connect+两台计算机+ in + lan + via + c + 23 + socket
[
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A simple search using your question subject will give you the answer.
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=connect+two+computers+in+lan+via+c%23+socket[^]


我真的不知道您所说的连接"是什么意思,但我想您想写一些软件,使您可以使两台计算机通过TCP网络进行通信.

该框架包含一个名为TcpListener的对象,您可以使用该对象.在
TcpListener文档 [
I don''t really know what you mean with ''connect'', but I assume you want to write some software which enables you to make two computers communicate over a TCP network.

The framework contains an object called the TcpListener which allows you to do so. Take a peak at the TcpListener documentation[^] which also includes an example at the page''s bottom.

Good luck!
Eduard


这篇关于通过c#套接字在局域网中连接两台计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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