| GNetwork Library Manual |
|---|
GNetworkUnixConnection — Unix IPC connection object.
enum GNetworkUnixConnectionStatus; struct GNetworkUnixConnection; struct GNetworkUnixConnectionClass;
"filename"gchararray : Read / Write / Construct "socket"gpointer : Read / Write "unix-status" GNetworkUnixConnectionStatus : Read
The
typedef enum /* <prefix=GNETWORK_UNIX_CONNECTION> */
{
GNETWORK_UNIX_CONNECTION_CLOSING,
GNETWORK_UNIX_CONNECTION_CLOSED,
GNETWORK_UNIX_CONNECTION_OPENING,
GNETWORK_UNIX_CONNECTION_AUTHENTICATING,
GNETWORK_UNIX_CONNECTION_OPEN
}
GNetworkUnixConnectionStatus;
An enumeration of the possible states a UNIX socket connection can be in.
| GNETWORK_UNIX_CONNECTION_CLOSING | the connection is shutting down. |
| GNETWORK_UNIX_CONNECTION_CLOSED | the connection is closed. |
| GNETWORK_UNIX_CONNECTION_OPENING | the connection is being opened. |
| GNETWORK_UNIX_CONNECTION_AUTHENTICATING | the connection is authenticating. |
| GNETWORK_UNIX_CONNECTION_OPEN | the connection is open and ready. |
struct GNetworkUnixConnection;
This structure contains no public members.
| "filename" ( | The filename of the UNIX socket in question. |
| "socket" ( | The socket file descriptor. For use by GNetworkUnixServer. |
| "unix-status" (GNetworkUnixConnectionStatus : Read) | The current status of the UNIX connection. |
| << GNetworkTcpConnection | GNetworkServer >> |