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.

class SocketControlMessage
static
deserialize
(
int level
,
int type
,
ubyte[] data
)

Parameters

level int

a socket level

type int

a socket control message type for the given @level

data ubyte[]

pointer to the message data

Return Value

the deserialized message or %NULL

Meta

Since

2.22