Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@girorme
Copy link
Owner

@girorme girorme commented May 16, 2024

Its possible to transfer the "handle tcp connections" using :gen_tcp.controlling_process/2, this way all connections can be processed as messages in async way in another process (genserver)

Ref: https://www.openmymind.net/Elegant-TCP-with-Elixir-Part-1-TCP-as-Messages/

@girorme girorme force-pushed the refactor/connection-handler branch from 28efbba to cb357d5 Compare May 16, 2024 05:17
@girorme girorme merged commit 3638bd7 into master May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants