Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: perl client for Socket.io

by TorontoJim (Sexton)
on Oct 20, 2017 at 23:19 UTC ( #1201778=note: print w/replies, xml ) Need Help??


in reply to Re: perl client for Socket.io
in thread perl client for Socket.io

I'd like to try this for a project I'm working on. However, I'm not clear about using it.

That is to say, I'm not sure how to invoke it. How do I invoke the script and have it stay running to exchange form updates between the script on the server, and the web page on the client?

Once invoked, how do you shut it down once that page is done with it?

I'm not new to Perl, but I am new to Sockets of any kind. I have a project with a page that holds scheduling information and it needs to be accessible/updateable by more than one user at a time.

Even if you can just point me to a good resource that explains the above, I'm happy to do the legwork. I just haven't read anything yet that answers those questions. Even the popular socket.io doesn't do much to explain that part of it. It only gives examples of a pseudo-server running from the client, not from a web server.

Thank you for your time.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1201778]
help
Chatterbox?
[Corion]: ... on a public host again.
[Discipulus]: for sure, but who'll make the initial migration?
[ambrus]: hi all
[Corion]: I don't think that Mojo or whatever would bring much, as the site is heavy on nested templates, but there are some things that could/should be eliminated ;)
[Corion]: Hi ambrus!
[marto]: I'd be interested in seeing the schema and some test data. I think the move could be done in stages.
[ambrus]: Corion: did you as the gods release any official opinion about how perlmonks is now on HTTPS?
[Corion]: Discipulus: I think once we have a test environment again and move to git, contribution and change gets easier
[Corion]: ambrus: I think there was some discussion and maybe even an entry in Tidings, but I'm not really sure
[marto]: Back later, got to get the kids ready

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-07-19 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (404 votes). Check out past polls.

    Notices?