Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

serverpush and clientpull

hello,

may i know the pro and cons between serverpush and clientpull?

why cant my page refresh when i used serverpush?the pictures on the webpages cant be displayed as well when i used serverpush. so how good is serverpush compare to clientpull?

thanks alot 😃
0 Kudos
Message 1 of 3
(2,916 Views)
Hello Kenshi,

The difference between server push and client pull are:
"Server push -- the server sends down a chunk of data; the browser display the data but leaves the connection open; whenever the server wants it sends more data and the browser displays it, leaving the connection open; at some later time the server sends down yet more data and the browser displays it; etc.
Client pull -- the server sends down a chunk of data, including a directive (in the HTTP response or the document header) that says "reload this data in 5 seconds", or "go load this other URL in 10 seconds". After the specified amount of time has elapsed, the client does what it was told -- either reloading the current data or getting new data. " (http://wp.netscape.com/home/demo/1.1b1/pushpull.html)

Microsoft Internet Explorer does not support server push, while Netscape does. In order to use Internet Explorer to view programs remotely with the CVI Internet Toolkit, you must use Client Pull in the call to INET_RegisterPanelAutoUpdate().

For instance, your call to INET_RegisterPanelAutoUpdate() would look like:
updateHandle = INET_RegisterPanelAutoUpdate (webHandle, panelHandle,INET_UPDATE_CLIENTPULL,"Simple.jpg","index.html", 1, 0);

Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter
Message 2 of 3
(2,903 Views)
hello wendy,

thanks alot for the explaination, i understand clearly now.
0 Kudos
Message 3 of 3
(2,898 Views)