Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

RE: Push HTTP server documentation

by gregorovius (Friar)
on Jun 12, 2000 at 09:53 UTC ( [id://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 (Patriarch) 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://17677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2025-05-21 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.