登录
首页 » C# » 本程序是一个用C#编写的文件传输程序,分服务端和客户端。 服务端首先监听端口,等待客户端的连接请求,一旦连接成功,即把可供客户端下载的文件名称发给客户端,客户端...

本程序是一个用C#编写的文件传输程序,分服务端和客户端。 服务端首先监听端口,等待客户端的连接请求,一旦连接成功,即把可供客户端下载的文件名称发给客户端,客户端...

于 2022-02-26 发布 文件大小:21.13 kB
0 133
下载积分: 2 下载次数: 1

代码说明:

本程序是一个用C#编写的文件传输程序,分服务端和客户端。 服务端首先监听端口,等待客户端的连接请求,一旦连接成功,即把可供客户端下载的文件名称发给客户端,客户端接受到文件名称后,选择要下载的文件,并发给服务器。服务器根据客户端发送的文件名,选择指定的文件读取文件流,并把文件流内容赋值给网络流发送到客户端,客户端将接受到的网络流赋值给文件流,并保存到文件。 注意:在使用时,要在E盘下建立一个aa文件夹,将一些文件放入其中,以供演示。-this procedure is a C# prepared by the file transfer process-server and the client. First-service monitoring ports, waits for the client to connect to the request Once connected, which is available for download client name in the paper circulated to clients, customers termination papers by name, choose to download the document and sent to the server. Servers based on the client to send the file name, select a file to read the documentation flow, and stream content to the network flow assignment sent to the client, the client will talk to the network flow assignment to the paper flow, and the preservation of the document. Note : when used in the E-aa established a folder of documents Add which, for demonstration.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab 卡农音乐开心 在matlab上播放卡农
    哈哈哈哈哈哈哈哈 matlab 卡农音乐开心 在matlab上播放卡农 我懂你的欢喜
    2022-04-25 17:16:39下载
    积分:1
  • DErand1either-or
    DE的一种改进算法,程序通过改变变异规则来大概改进算法的目的,同JDE一样是改进DE的一种(DE, an improved algorithm of application about the purpose of the improved algorithm by changing the variation rules, as well as JDE is a kind of improved DE)
    2014-09-26 15:48:11下载
    积分:1
  • GPS卡尔曼滤波跟踪算法GPS_Kalman
    用matlab编写的GPS卡尔曼滤波跟踪算法,可用于GPS导航里目标跟踪估计等,非常好用!(Prepared using matlab GPS Kalman filter tracking algorithm can be used for GPS navigation in target tracking estimation, very easy to use!)
    2020-07-08 10:48:56下载
    积分:1
  • 525924
    上面管理程序用到的一个DLL的源码,很好(The above management procedures used in a DLL source code, very good)
    2018-11-28 20:03:10下载
    积分:1
  • STM8L052R8-DEMO
    说明:  采用STM8L052芯片,支持USR-GM3PGPRS通讯、GPS定位(Adopting stm8l052 chip, supporting usr-gm3pgprs communication and GPS positioning)
    2020-04-11 13:47:38下载
    积分:1
  • 电子设计竞赛真题源码2009_2015
    说明:  全国电赛真题源码,包含逆变器,Buck,Boost等常用电力电子电路(Source code of National University Electronic Design Contest)
    2020-06-02 15:15:38下载
    积分:1
  • SD
    说明:  一个arm开发板的sd卡程序设计用于设计SD卡的实现(An arm development board designed sd card program is designed for the realization of SD card)
    2011-06-09 21:41:49下载
    积分:1
  • S利用IFT特征进行两个图像之间的特征点匹配
    该代码根据网友的代码修改而来,程序基于OPENCV,具体的配置网上教程一大堆,VS中的简单配置如下: $(VC_IncludePath);$(WindowsSDK_IncludePath);D:Program Filesopencvuildinclude;D:Program Filesopencvuildincludeopencv;D:Program Filesopencvuildincludeopencv2; $(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);D:Program Filesopencvuildx86vc12lib; opencv_calib3d2413d.lib;opencv_contrib2413d.lib;opencv_core2413d.lib;opencv_features2d2413d.lib;opencv_flann2413d.lib;opencv_gpu2413d.lib;opencv_highgui2413d.lib;opencv_imgproc2413d.lib;opencv_legacy2413d.lib;opencv_ml2413d.lib;opencv_nonfree2413d.lib;opencv_objdetect2413d.lib;opencv_ocl2413d.lib;opencv_photo2413d.lib;opencv_stitching2413d.lib;opencv_superres2413d.lib;opencv_ts2413d.lib;opencv_video2413d.lib;opencv_videostab2413d.lib;%(AdditionalDependencies)
    2022-12-29 18:30:06下载
    积分:1
  • ALADDIN
    hasp emulator aladdin srm
    2017-12-28 02:30:33下载
    积分:1
  • 黄金刷单
    说明:  黄金刷单EA介绍: 黄金多空对冲是一款多空交易、自动变换手数、动态止损止盈的全自动交易策略,主要基于黄金,利用顺势多空微马丁。同时,结合有对冲机制,在振荡行情下会进行多空对冲,在趋势行情下则会直接止损错误单子,顺应单边趋势,所以该策略无论单边行情还是振荡行情都能适用。 1、多周期混合运算,双周期偏离开仓,动能减少出场 2、动态止盈止损,根据每日波幅自动调整 3、单笔及整体多重风控,且有移动止损保护 4、基本持仓不过夜,不隔周末,不怕大行情, 5、适应各种行情,不惧单边和震荡 6,单量大,可做刷单可做盈利EA(1. Multi period mixed operation, double period deviation opening, kinetic energy reduction 2. Dynamic stop profit stop loss, automatically adjust according to daily amplitude 3. Single and overall multiple risk control, with mobile stop loss protection 4. The basic position does not stay overnight, not every weekend, not afraid of the big market, 5. Adapt to a variety of market, not afraid of unilateral and shock 6. Large single volume, which can be used to brush and profit EA)
    2021-03-17 15:29:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载