DatagramBasedSourceFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
[ Version ( since = "2.48" ) ]
public delegate bool DatagramBasedSourceFunc (DatagramBased datagram_based, IOCondition condition)

This is the function type of the callback used for the SocketSource returned by create_source.

Parameters:

datagram_based

the DatagramBased

condition

the current condition at the source fired

data

data passed in by the user

Returns:

g_source_remove if the source should be removed, g_source_continue otherwise


Namespace: GLib
Package: gio-2.0