Open
Description
Please answer these questions before submitting your issue.
- What did you do? If possible, provide a simple script for reproducing the error.
The example script is broken: https://github.com/swoole/proxy-server/blob/master/tcp-proxy.php
- What did you expect to see?
The working script
- What did you see instead?
It is broken because swoole no longer supports callbacks for clients? The "on()" method cannot be found. Swoole also does not seem to provide a way to pipe data and events between sockets, so there is not a way to get data and relay it back to the client as a proxy server should do.
How can the example script be made working again with the new coroutine system?
Metadata
Metadata
Assignees
Labels
No labels