networking - Is it possible to push data from the server to the client (phone, computer) without OS integration -



networking - Is it possible to push data from the server to the client (phone, computer) without OS integration -

is there way server force info client, wirelessly , seamlessly, may windows(phone), iphone, mac, or android device, without os integration?

if so, what's best design pattern this, , best technologies go this?

push technology methodology of server initiating transfer of data, rather client asking server it.

apple makes force technology relatively easy utilize providing such functionality built-in on os. android through google cloud messaging android. windows, however, not.

apple force notifications , google's messaging android seemingly magical and/or functionality os needs handle; however, isn't case. advantage of having "integrated" in os, same having framework handle functionality you.

speaking in technical terms, force technology long-lived connection client server accepts messages. these messages considered pushed messages, since client did not create individual request them.

the main thing maintain in mind when implementing force technology yourself, client is in charge of keeping long-lived connection live much possible. because client ip addresses can alter between disconnects, servers not guaranteed client's address persistent across disconnects. moreover, clients can connected behind firewall, making impossible server reach client.

for comparison, pull technology more traditional process of client connecting server , requesting data.

your best bet apple ios using push notification service.

for android devices should utilize google cloud messaging android. alternatively, can create own background service handle messaging; here's guide.

for windows (desktop @ least), will have create own service perform such duty. here's msdn guide explaining how create windows service using visual studio (vb , c#). there might frameworks built handle such messaging on windows, however, don't know of any.

networking cloud network-protocols

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -