set_socket_type


Description:

public void set_socket_type (SocketType type)

Sets the socket type of the socket client.

The sockets created by this object will be of the specified type.

It doesn't make sense to specify a type of g_socket_type_datagram, as GSocketClient is used for connection oriented services.

Parameters:

this

a SocketClient.

type

a SocketType