SocketClient.setProtocol

Sets the protocol of the socket client. The sockets created by this object will use of the specified protocol.

If @protocol is %0 that means to use the default protocol for the socket family and type.

class SocketClient
void
setProtocol

Parameters

protocol GSocketProtocol

a #GSocketProtocol

Meta

Since

2.22