Socket.protocol

Get protocol property.

class Socket
@property
protocol
()

Return Value

Type: gio.types.SocketProtocol

The ID of the protocol to use, or -1 for unknown.