![]() |
![]() |
![]() |
GNetwork Library Manual | ![]() |
---|---|---|---|---|
"filename" gchararray : Read / Write / Construct "socket" gpointer : Read / Write "unix-status" GNetworkUnixConnectionStatus : Read
The GnetworkUnixConnection object is used for stream-based Unix sockets, and operate similar to TCP/IP connections. A GNetworkUnixConnection would typically be subclassed to create a specific type of local networking connection.
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.
typedef struct _GNetworkUnixConnection GNetworkUnixConnection;
This structure contains no public members.
filename
" property"filename" gchararray : Read / Write / Construct
The filename of the UNIX socket in question.
Default value: NULL
socket
" property"socket" gpointer : Read / Write
The socket file descriptor. For use by GNetworkUnixServer.
unix-status
" property"unix-status" GNetworkUnixConnectionStatus : Read
The current status of the UNIX connection.
Default value: GNETWORK_UNIX_CONNECTION_CLOSED