Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
StreamPeerUDS
Eredita: StreamPeerSocket < StreamPeer < RefCounted < Object
A stream peer that handles UNIX Domain Socket (UDS) connections.
Descrizione
A stream peer that handles UNIX Domain Socket (UDS) connections. This object can be used to connect to UDS servers, or also is returned by a UDS server. Unix Domain Sockets provide inter-process communication on the same machine using the filesystem namespace.
Note: UNIX Domain Sockets are only available on UNIX-like systems (Linux, macOS, etc.) and are not supported on Windows.
Metodi
connect_to_host(path: String) |
|
get_connected_path() const |
Descrizioni dei metodi
Opens the UDS socket, and binds it to the specified socket path.
This method is generally not needed, and only used to force the subsequent call to connect_to_host() to use the specified path as the source address.
Error connect_to_host(path: String) 🔗
Si connette al percorso specificato del socket di dominio UNIX. Restituisce @GlobalScope.OK in caso di successo.
String get_connected_path() const 🔗
Returns the socket path of this peer.