SocketControlMessage.deserialize

Tries to deserialize a socket control message of a given level and type. This will ask all known (to GType) subclasses of GSocketControlMessage if they can understand this kind of message and if so deserialize it into a GSocketControlMessage. If there is no implementation for this kind of control message, NULL will be returned. Since 2.22

class SocketControlMessage
static
deserialize
(
int level
,
int type
,,
void* data
)

Parameters

level int

a socket level

type int

a socket control message type for the given level

size gsize

the size of the data in bytes

data void*

pointer to the message data. [array length=size][element-type guint8]

Return Value

the deserialized message or NULL. [transfer full]

Meta