Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

RE: Push HTTP server documentation

by gregorovius (Friar)
on Jun 12, 2000 at 09:53 UTC ( #17677=note: print w/replies, xml ) Need Help??

in reply to Push HTTP server documentation
in thread Push HTTP server

Cool program. I recently reviewed some code to do similar stuff with java. The interesting part was that they had a tiny applet client hidden in a webpage that held persistant connections to their server. This client had the abilty to 'instruct' the host browser to reload a page (via some java-javascript browser calls) every time the server instructed it to do so. It occurs to me that maybe you could develop a similar client to retrofit the functionality you want to existing browsers. Also, do you have a client to demonstrate the persistant connections that you could show us?

Replies are listed 'Best First'.
RE: RE: Push HTTP server documentation
by mdillon (Priest) on Jun 12, 2000 at 10:01 UTC

    'telnet localhost 9000' should work on almost any platform.

    just type in the commands manually, since they're pretty simple and there aren't too many of them.

    there is also a utility called netcat that is available for most operating systems that will let you do stuff like this:

    echo "GET HELP" | nc localhost 9000

    netcat is available here.

Push HTTP server client
by Corion (Pope) on Jun 12, 2000 at 12:27 UTC

    The "official" position is, that the only such client is telnet, and telnet localhost 9000 in several windows lets you test the multi-user "features" (and bugs) quite well.

    I'm not really fit with Java, in fact, I haven't programmed a single line in it, but I'm interested in that persistent connection feature - do you have any pointers where I could look for the right classes to use ? I imagine a remote control/remote panel for a mp3 player that also has status, progress etc. for multiple computers (wired home).

    After talking to some Java wizard who told me that Java vs. Javascript interaction was not as easy as I thought, I'm thinking of actually writing a specialized client (in Perl), that embeds IE to render the HTML - maybe easier than doing it backwards by using IE to download non-http data ;).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://17677]
[Corion]: Hurr. Yesterday I played around with ffmpeg as a new toy and found its "scene" filter great - it detects scene changes. Now I could write a module that splits a given video on its cuts into different scenes. Except I have no use case for that :)
[Corion]: (and also, writing yet another FFmpeg module just to wrap system() and grep through its output isn't all that great ...)
[erix]: cut out advertisements from movies? :)
[erix]: robably not possible (or it would have been done already)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-05-24 11:10 GMT
Find Nodes?
    Voting Booth?