A
A
Azat Kiberov2022-02-03 13:23:16
PHP
Azat Kiberov, 2022-02-03 13:23:16

What is an analogue similar to curl for socket io to parse socket info and answers?

Hello everyone .. Does anyone know how to parse soket io info from sites so that you can work like curl without js scripts so that php connects to socket io and parses responses?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pLavrenov, 2022-02-03
@pLavrenov

You need to understand that Curl and sockets have a fundamental difference. Kurl sends a request and receives a response, the sockets connect the connection and listen to the necessary channels to which the data comes.
Because you want it doesn't work. There is a solution. You connect just like a site to sockets and listen to data.

R
rPman, 2022-02-03
@rPman

netcat (or nc) - a console utility that allows you to connect via tcp or udp and redirect the stream to a file or stdin, as primitive and simple as possible, but on a local network you can use it to transfer files at the maximum network bandwidth
ps especially perverted to bash with it made a web server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question