开发者

Sending Multiple files using Over TCP

开发者 https://www.devze.com 2023-01-14 09:50 出处:网络
how can i send multiple files over TCP with C#, all the samples on the internet sends only a sinle file, im looking for something l开发者_高级运维ike this, loop through files in a folder and sending o

how can i send multiple files over TCP with C#, all the samples on the internet sends only a sinle file, im looking for something l开发者_高级运维ike this, loop through files in a folder and sending over tcp, this is the client, server side i want to receive and save them to disk,


Have the client call and get all the files in the directory; Use a DirectoryInfo object to get a list of the files in the directory, and return it; Then have the client ask for the files one by one.

0

精彩评论

暂无评论...
验证码 换一张
取 消