Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need example for Swoole\Coroutine\Server #5620

Closed
deba12 opened this issue Dec 15, 2024 · 1 comment
Closed

Need example for Swoole\Coroutine\Server #5620

deba12 opened this issue Dec 15, 2024 · 1 comment
Labels

Comments

@deba12
Copy link

deba12 commented Dec 15, 2024

Hello,
the Swoole\Coroutine\Server documentations says

Differences from the Server module:

Dynamically creating and destroying - ports can be dynamically listened to, and servers can be dynamically closed during runtime.
The process of handling connections is fully synchronous, allowing programs to sequentially handle Connect, Receive, and Close events.

could you please give example for Swoole\Coroutine\Server how open/close new ports during runtime ?
Or example how to listen on multiple ports.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants