netUtilsSetSocketTos

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

bool
netUtilsSetSocketTos

Parameters

socket gio.socket.Socket

Socket to configure

qosDscp int

QoS DSCP value

Return Value

Type: bool

TRUE if successful, FALSE in case an error occurred.