SocketClient.setProtocol
void setProtocol(gio.types.SocketProtocol protocol)Sets the protocol of the socket client. The sockets created by this object will use of the specified protocol.
If protocol is gio.types.SocketProtocol.Default that means to use the default protocol for the socket family and type.
Parameters
protocol | a #GSocketProtocol |