SocketGidBuilderImpl.protocol

T protocol(gio.types.SocketProtocol propval)

Set protocol property.

Parameters

propvalThe ID of the protocol to use, or -1 for unknown.

Returns

Builder instance for fluent chaining