set_protocol


Description:

public void set_protocol (SocketProtocol protocol)

Sets the protocol of the socket client.

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

If protocol is g_socket_protocol_default that means to use the default protocol for the socket family and type.

Parameters:

this

a SocketClient.

protocol

a SocketProtocol