Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GSocketProtocol |
Enum : | SocketProtocol |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gio.SocketProtocol.DEFAULT : 0
|
|
Number Gio.SocketProtocol.SCTP : 132
|
|
Number Gio.SocketProtocol.TCP : 6
|
|
Number Gio.SocketProtocol.UDP : 17
|
|
Number Gio.SocketProtocol.UNKNOWN : -1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.Socket
Property |
protocol : Gio.SocketProtocol
|
Gio.Socket
Method |
Create a new Gio.Socket
|
Gio.Socket
Method |
get_protocol
()
:
Gio.SocketProtocol
|
Gio.SocketClient
Property |
protocol : Gio.SocketProtocol
|
Gio.SocketClient
Method |
get_protocol
()
:
Gio.SocketProtocol
|
Gio.SocketClient
Method |
set_protocol
(SocketProtocol protocol)
:
none
|
Gio.SocketListener
Method |
add_address
(SocketAddress address, SocketType type, SocketProtocol protocol, Object source_object, SocketAddress effective_address)
:
Boolean
|