通过互联网c#win传输数据的套接字。形成 [英] Socket to transfer data over internet c# win. form

查看:69
本文介绍了通过互联网c#win传输数据的套接字。形成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用可以在 LAN 上工作的套接字,但是如何使用它们通过互联网传输数据。找不到一个好的例子请帮帮我?

I have tried to work with sockets which work over LAN but how to use them to transfer data over internet. cannot find a good example please help me?

推荐答案

以下是MSDN上的一些例子供您查看。如果向下滚动,可以查看一些特定于Web的示例。

适用于.NET v4.0的网络示例 [ ^ ]



这里有一个简单的例子:

如何使用套接字通过互联网发送数据? [ ^ ]

(我向CP道歉,提供本站点的链接:()
Here are some examples over at MSDN for you to check out. If you scroll down there are some web specific samples for you to look into.
Networking Samples for .NET v4.0 [^]

There is a simple example here:
How can I send data over the internet using a socket?[^]
(I apologise to CP for providing link to this site :( )


这篇关于通过互联网c#win传输数据的套接字。形成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆