开发者

How Can I transfer data through internet from client to server using .NET?

开发者 https://www.devze.com 2022-12-22 03:19 出处:网络
I am developing a server client application, where Client will send a huge amount of data to server through internet. However I h开发者_JAVA技巧ave done some asynchronous socket programing before. Can

I am developing a server client application, where Client will send a huge amount of data to server through internet. However I h开发者_JAVA技巧ave done some asynchronous socket programing before. Can I use same code here ?


If both sides are .NET there are many higher level options like Windows Communication Foundation.

  • Microsoft portal on WCF
  • WCF samples

But you can use bare metal sockets if you want to.


Helpful Code Examples

If you want to do low level stuff like sockets C# Netwrok Programming by Richard Blum is probably the best book.

Also, Asynchronous TCP server in C# and Asynchronous TCP client in C#.

Code samples from Essential WCF: For .NET Framework 3.5.

0

精彩评论

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