[英]How Can I transfer data through internet from client to server using .NET?
I am developing a server client application, where Client will send a huge amount of data to server through internet. 我正在开发一个服务器客户端应用程序,客户端将通过互联网向服务器发送大量数据。 However I have 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 . 如果双方都是.NET,那么有许多更高级别的选项,如Windows Communication Foundation 。
But you can use bare metal sockets if you want to. 但是如果你愿意,你可以使用裸机插座。
If you want to do low level stuff like sockets C# Netwrok Programming by Richard Blum is probably the best book. 如果你想做套接字C等低级别的东西,理查德布鲁姆的Netwrok编程可能是最好的书。
Also, Asynchronous TCP server in C# and Asynchronous TCP client in C# . 此外, C#中的异步TCP服务器和C#中的 异步TCP客户端 。
Code samples from Essential WCF: For .NET Framework 3.5 . Essential WCF的代码示例:适用于.NET Framework 3.5 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.