Hello, I'm trying to get a Godot game to communicate with a service listening on UNIX domain sockets. The StreamPeer docs seem to imply that you can use UNIX sockets, but it doesn't give you any hints as to how.

Specifically, the service is an HTTP server and I'd like to use the HTTPClient from within GDScript to connect to it and do the HTTP parsing for me.

I noticed that the connect_to() API can take a hostname, but it's not obvious if that can be a UNIX socket path, and it looks like the HTTPClient connect_to() method assumes that it'll either be an IP address or will resolve to an IP address.

Has anybody worked with UNIX sockets in Godot before? Is there an example somewhere?

2 years later