Skip to content

Conversation

@sgebbie
Copy link

@sgebbie sgebbie commented Nov 23, 2021

Here we provide an RFC related to introducing Unix domain socket support into the net package.

This RFC will provide details around the intention for adding support
for Unix Domain Sockets to the Pony runtime library and the `net`
package.
The intent would be to add support for creating and using Unix domain
sockets from within Pony programs. In particular, this RFC suggests
adding this support to the `net` package.
@sgebbie sgebbie changed the title WIP Unix domain socket support WIP RFC for Unix domain socket support Nov 23, 2021
@adri326
Copy link
Contributor

adri326 commented Nov 23, 2021

Rendered (latest)

Using ASIO directly from Pony code might reduce the
need for changing the runtime code.
@sgebbie
Copy link
Author

sgebbie commented Nov 23, 2021

Following the Pony sync 2021-11-23 the general view is that there is support for including Unix domains into the net package. However, the before moving forward with the RFC, it would be good to have some proof-of-concept code showing how this might be implemented.

That is, it might be possible to use more FFI and the existing ASIO rather than making changes to libponyrt. Or, for maintainability it might be better to follow the existing code style.

Note that we can make use of the `compile_error` directive.
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