Answer the question
In order to leave comments, you need to log in
How to start a child process in Ratchet?
Good day to all.
Please help me deal with sockets / processes, I can’t figure it out for two days already.
Task:
-Ability to make bids for users
-Send all users fresh data about products
-Monitor all products on the server side, if necessary, do something ...
In general, I'm doing an auction on Yii2. Fastened Ratchet - PHP WebSockets, figured it out more or less. If the user makes a bet, everything is sent to everyone, updated, everything works in general as it should.
That's actually the question: How to launch a third-party process from Ratchet (i.e. so that some process is constantly looped and, if necessary, does something and sends fresh data), or how to send all users to Ratchet from a third-party daemon / script, which would also launch Ratchet on startup?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question