setSockFlag

open override fun setSockFlag(opt: SockOpt, value: Any)

Sets the value of the given socket option.

See Also: srt_setsockflag

Parameters

opt

the SockOpt to set

value

the SockOpt value to set. Type depends of the specified opt.

See also

Throws

if can't set SockOpt