RGtk2 (version 2.20.31)

gSocketGetProtocol: gSocketGetProtocol

Description

Gets the socket protocol id the socket was created with. In case the protocol is unknown, -1 is returned.

Usage

gSocketGetProtocol(object)

Arguments

object

Value

GSocketProtocol] a protocol id, or -1 if unknown

Details

Since 2.22