开发者

Sending Files via Socket

开发者 https://www.devze.com 2023-03-18 04:59 出处:网络
I\'m writing some code so I can connect to my remote machine. I\'m using sockets. 开发者_运维百科My machine runs files with the *.hex extension. It reloads .hex files every 10 seconds.

I'm writing some code so I can connect to my remote machine. I'm using sockets. 开发者_运维百科My machine runs files with the *.hex extension. It reloads .hex files every 10 seconds.

I'm creating a loop program with C# so it sends *.hex files every 10 seconds.

The problem is, how can I send files using socket?


You can use the BeginSendFile method.

0

精彩评论

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