Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

Enum Gio.SocketProtocol

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GSocketProtocol
Enum : SocketProtocol
A protocol identifier is specified when creating a GSocket, which is a
family/type specific identifier, where 0 means the default protocol for
the particular family/type.
This enum contains a set of commonly available and used protocols. You
can also pass any other identifiers handled by the platform in order to
use protocols not listed here.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.Socket
Property
protocol : Gio.SocketProtocol
Gio.Socket
Method
new Gio.Socket.c_new (SocketFamily family, SocketType type, SocketProtocol protocol) : Gio.Socket
Create a new Gio.Socket
Gio.Socket
Method
get_protocol () : Gio.SocketProtocol
Gets the socket protocol id the socket was created with.
Gio.SocketClient
Property
protocol : Gio.SocketProtocol
Gio.SocketClient
Method
get_protocol () : Gio.SocketProtocol
Gets the protocol name type of the socket client.
Gio.SocketClient
Method
set_protocol (SocketProtocol protocol) : none
Sets the protocol of the socket client.
Gio.SocketListener
Method
add_address (SocketAddress address, SocketType type, SocketProtocol protocol, Object source_object, Object out_values) : gboolean
Creates a socket of type type and protocol protocol, binds
it to address and adds it to the set of sockets we're accepting
sockets from.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:37 GMT+0800 (HKT)