SocketClient.setSocketType

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 gio.types.SocketType.Datagram, as GSocketClient is used for connection oriented services.

class SocketClient
void
setSocketType

Parameters

type gio.types.SocketType

a #GSocketType