netUtilsSetSocketTos

fnbool netUtilsSetSocketTos(gio.socket.Socket socket, int qosDscp)

Configures IP_TOS value of socket, i.e. sets QoS DSCP.

Parameters

socketSocket to configure
qosDscpQoS DSCP value

Returns

TRUE if successful, FALSE in case an error occurred.