Data Structures | |
struct | DBusServerUnix |
Implementation details of DBusServerUnix. More... | |
Typedefs | |
typedef DBusServerUnix | DBusServerUnix |
Opaque object representing a Unix server implementation. | |
Functions | |
DBusServer * | _dbus_server_new_for_fd (int fd, const DBusString *address) |
Creates a new server listening on the given file descriptor. More... | |
DBusServer * | _dbus_server_new_for_domain_socket (const char *path, dbus_bool_t abstract, DBusError *error) |
Creates a new server listening on the given Unix domain socket. More... | |
DBusServer * | _dbus_server_new_for_tcp_socket (const char *host, dbus_uint32_t port, DBusError *error) |
Creates a new server listening on the given hostname and port. More... |
|
Creates a new server listening on the given Unix domain socket.
Definition at line 274 of file dbus-server-unix.c. References socket_name. |
|
Creates a new server listening on the given file descriptor. The file descriptor should be nonblocking (use _dbus_set_fd_nonblocking() to make it so). The file descriptor should be listening for connections, that is, listen() should have been successfully invoked on it. The server will use accept() to accept new client connections.
Definition at line 221 of file dbus-server-unix.c. |
|
Creates a new server listening on the given hostname and port. If the hostname is NULL, listens on localhost.
Definition at line 352 of file dbus-server-unix.c. |