GSocketSourceFunc

This is the function type of the callback used for the glib.Source returned by Socket.createSource.

alias GSocketSourceFunc = int function(GSocket* socket, GIOCondition condition, void* userData)

Return Value

it should return FALSE if the source should be removed.

Meta

Since

2.22