wetware / pkg

Peer-to-peer cloud environment
https://wetware.run
Other
38 stars 7 forks source link

Set up guest socket in ww host module #153

Closed lthibault closed 1 year ago

lthibault commented 1 year ago

This PR replaces #152. It moves the negotiation of TCP socket pre-opens to the system package. The file system/system.go now implements a Wazero host module. The host-guest TCP socket is negotiated at module init.