TcpWrapperConnection

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

Constructors

this
this(GTcpWrapperConnection* gTcpWrapperConnection, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(IOStream baseIoStream, Socket socket)

Wraps base_io_stream and socket together as a GSocketConnection

Members

Functions

getBaseIoStream
IOStream getBaseIoStream()

Get's conn's base GIOStream

getStruct
void* getStruct()

the main Gtk struct as a void*

getTcpWrapperConnectionStruct
GTcpWrapperConnection* getTcpWrapperConnectionStruct(bool transferOwnership = false)

Get the main Gtk struct

Static functions

getType
GType getType()

Variables

gTcpWrapperConnection
GTcpWrapperConnection* gTcpWrapperConnection;

the main Gtk struct

Meta

Since

2.28