English 中文(简体)
上游——网络数据来源——推动方式
原标题:streaminsight - network data source - push manner

我想在从网络获得活动的“镜头”中安装一个电动调器。 样本一以拉动方式阅读了所有工作,而我的假想需要一种推力方法。 你们是否知道这种样本? 或者你能提出任何建议? 该网络的方案拟订不是我的领域,但如果我知道何时开始,我可以很快学习。

增 编

问题回答

是的,你可以有一个投入适应器,使数据/工具能够通过TCP推向它。 检查TCPListener的班级。 http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx”rel=“nofollow” http://msdn.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx

在开始(a)时,请您提供意见的适应者,请您立即介绍TCPListener的事例,并开始接受联系。 在您的“名单拼凑”中,你需要处理网络Stream和淡化新数据,并将数据转换到准备装入“精华”发动机的活动中。 你们还需要执行“停止”行动,停止接受联系。 不要忘记你在这一进程中创造的任何资源。

希望这一帮助。





相关问题
Max Outgoing Socket Connections in .NET/Windows Server

I have a slightly unusual situation where I m needing to maintain CLIENT tcp connections to another server for thousands of mobile users on my servers (basically the mobile devices connect to my ...

Determine the remaining TTL of a multicast packet in Java

If I have a Java program that listens to multicast data, how can I tell what the remaining TTL of the incoming datagram is? I know how to set the TTL on the sending multicast socket, but I want to ...

Python socket not receiving anything

I m trying to receive a variable length stream from a camera with python, but get weird behaviour. This is Python 2.6.4 (r264:75706) on linux(Ubuntu 9.10) The message is supposed to come with a ...

Connecting to a Source game server in VB.NET

I m developing an application that detects Source-based games running on the LAN. Following up on the specifications provided by Valve, I have it narrowed down to exactly what I want: making a UDP ...

What can cause select to block in Python?

Here s a snippet of code I m using in a loop: while True: print loop rlist, wlist, xlist = select.select(readers, [], [], TIMEOUT) print selected # do stuff At a certain point, ...

Socket.UseOnlyOverlappedIO?

Does anyone know what Socket.UseOnlyOverlappedIO does, and if so, does it affect performance? There seems to be no real explanation on MSDN. Thanks in advance.

热门标签