|GIO Reference Manual|
|Top | Description | Object Hierarchy | Properties|
GTcpWrapperConnection — wrapper for non-GSocketConnection-based, GSocket-based GIOStreams
GTcpWrapperConnection; GSocketConnection * g_tcp_wrapper_connection_new (
GSocket *socket); GIOStream * g_tcp_wrapper_connection_get_base_io_stream (
GObject +----GIOStream +----GSocketConnection +----GTcpConnection +----GTcpWrapperConnection
A GTcpWrapperConnection can be used to wrap a GIOStream that is based on a GSocket, but which is not actually a GSocketConnection. This is used by GSocketClient so that it can always return a GSocketConnection, even when the connection it has actually created is not directly a GSocketConnection.
GSocketConnection * g_tcp_wrapper_connection_new (
socket together as a GSocketConnection.
||the GIOStream to wrap|
||the GSocket associated with
|the new GSocketConnection.|
"base-io-stream" GIOStream* : Read / Write / Construct Only
The wrapped GIOStream.