VB.NET客户端服务器简单应用程序(反之) [英] VB.NET Client Server Simple Application (the other way around)

查看:92
本文介绍了VB.NET客户端服务器简单应用程序(反之)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用过的教程 [ ^ ]

我已成功创建客户端向服务器发送数据的程序。

有人可以给我看一个服务器将数据发送给客户的样本



谢谢..



我在谷歌搜索它,但结果与从客户端发送数据到服务器

Used Tutorial[^]
I have successfully create a program that the Client Send Data to server.
Can someone show me a sample that the Server will send data to Client

Thanks..

I've search it in Google but result is same as sending data from Client to Server

推荐答案

即使在纯粹(和差,非常限制:-))客户端 - 服务器模型,服务器几乎总是向客户端发送数据:客户端发送请求,然后服务器发送响应。这对客户端+服务器在数据流方向上是绝对对称的。它在连接方面是不对称的:它由客户端执行,客户端连接到服务器监听连接。



我不知道哪些样本应该在这里显示;这几乎都是微不足道的。



对于一些想法,请看我过去的答案:

插座编程中的业余问题 [ ^ ],

来自同一端口号码的多个客户端 [ ^ ]。



有些背景,请阅读:

http://en.wikipedia.org/wiki/Client-server [ ^ ],

http://en.wikipedia.org/wiki/Pull_technology [ ^ ],

http ://en.wikipedia.org/wiki/Push_technology [ ^ ]。



客户端 - 服务器的限制问题非常严重,但它们不像数据流方向的问题。请参阅我过去的答案,我试着解释一下:应用程序'仪表板'网站帐户 [ ^ ]。



-SA
Even in pure (and poor, very limiting :-)) client-server model, server nearly always sends data to client: client sends request and then the server sends response. This pair, client + server, is absolutely symmetrical in terms of direction of the data flow. It is asymmetrical in terms of connection: it is performed by the client, which is connected to the server listening for the connection.

I don't know what samples should be shown here; this is all pretty much trivial.

For some ideas, please see my past answers:
an amateur question in socket programming[^],
Multple clients from same port Number[^].

For some background, please read:
http://en.wikipedia.org/wiki/Client-server[^],
http://en.wikipedia.org/wiki/Pull_technology[^],
http://en.wikipedia.org/wiki/Push_technology[^].

The problems of limitations of client-server are very serious, but they are not like the problem of the direction of data flow. Please see my past answer where I try to explain it all: Application 'dashboard' for website accounts[^].

—SA


这篇关于VB.NET客户端服务器简单应用程序(反之)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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