C#中的服务器客户端通信 [英] server client communication in c#
本文介绍了C#中的服务器客户端通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
用于在客户端和服务器之间传输大文件的c#代码,并且服务器保持与所有客户端的连接24/7
c# code to transfer large files between client and server and server remain connected to all clients 24/7
推荐答案
看看 ^ ]搜索结果.
客户端服务器通信产生了成千上万的线程.首先尝试使用Google.始终.
Have a look on this[^] search results.
Thousands of threads come up with client server communication. Give a try on google first. Always.
开始阅读一些CodeProject文章,这些文章提供了可解决您的问题的现有类:
在C#.NET 2.0中使用套接字应用程序进行文件传输 [ ^ ]
C#中的TCP客户端服务器简介 [ ^ ]
使用C#的简单客户端-服务器交互 [文件传输协议(FTP)客户端 [使用TCP发送文件 [
Start reading through some CodeProject articles that provide existing classes to solve your problem:
File Transfer using Socket Application in C# .NET 2.0[^]
Introduction to TCP client server in C#[^]
Simple Client-server Interactions using C#[^]
File Transfer Protocol (FTP) Client[^]
Sending Files using TCP[^]
这篇关于C#中的服务器客户端通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文