ucode
ucode copied to clipboard
Add sockets support
Would it be possible to add support for using sockets in ucode?
I am especially interested in ethernet sockets, I want to communicate with the management interface of a vdsl modem.
We've been tinkering with sockets over FFI a little here: https://github.com/jow-/ucode/pull/121
Far from ideal, but maybe just enough for you
In the meanwhile OpenWrt also gained an ucode binding for libuclient, which provides support for doing HTTP requests: https://github.com/openwrt/uclient/commit/e611e6d0ff0ba31070abacdb53037d3e9a4115a6
See also https://github.com/jow-/ucode/pull/196
Fixed by #196