Aditya Avaga Purwa
Aditya Avaga Purwa

Reputation: 43

Sending Files via Socket

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?

Upvotes: 0

Views: 682

Answers (1)

Marlon
Marlon

Reputation: 20314

You can use the BeginSendFile method.

Upvotes: 1

Related Questions