编写具有客户端和服务器功能的程序

问题描述:

我了解了套接字.我使用C#2005的Winform.
大多数服务器,客户端必须编写两个单独的程序.
可以编写一个具有局域网服务器功能的客户端服务器功能的聊天程序吗?

I learned about the socket.I using winform of C# 2005.
Most server,client must write two separate programs.
Can write a chat program network LAN has both the function server client functionality?

这是CP文章

C#中的TCP客户端服务器简介 [
Here is the CP article

Introduction to TCP client server in C#[^]


是的,它同时具有这两个功能.
Yes it has both the functions.


是.
Yes.