GObject.Object
Gio.Socket
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GSocket |
Class : | Socket |
Implements: | Gio.Initable |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
blocking : Boolean
|
Gio.Socket | |
family : Gio.SocketFamily
|
Gio.Socket | |
fd : Number
|
Gio.Socket | |
keepalive : Boolean
|
Gio.Socket | |
listen_backlog : Number
|
Gio.Socket | |
local_address : Gio.SocketAddress
read only
|
Gio.Socket | |
parent_instance : GObject.Object
read only
|
Gio.Socket | |
priv : Gio.SocketPrivate
read only
|
Gio.Socket | |
protocol : Gio.SocketProtocol
|
Gio.Socket | |
remote_address : Gio.SocketAddress
read only
|
Gio.Socket | |
timeout : Number
|
Gio.Socket | |
type : Gio.SocketType
|
Gio.Socket |
Method / Constructor | Defined By | |
---|---|---|
new Gio.Socket
(Object properties)
Create a new Gio.Socket
Create a new Gio.Socket
|
||
Create a new Gio.Socket
Create a new Gio.Socket
|
||
Create a new Gio.Socket
Create a new Gio.Socket
|
||
accept
(Cancellable cancellable)
:
Gio.Socket
|
Gio.Socket | |
|
Gio.Socket | |
check_connect_result
()
:
Boolean
|
Gio.Socket | |
close
()
:
Boolean
|
Gio.Socket | |
condition_check
(IOCondition condition)
:
GObject.IOCondition
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
connection_factory_create_connection
()
:
Gio.SocketConnection
|
Gio.Socket | |
|
Gio.Socket | |
get_blocking
()
:
Boolean
|
Gio.Socket | |
get_family
()
:
Gio.SocketFamily
|
Gio.Socket | |
get_fd
()
:
Number
|
Gio.Socket | |
get_keepalive
()
:
Boolean
|
Gio.Socket | |
get_listen_backlog
()
:
Number
|
Gio.Socket | |
get_local_address
()
:
Gio.SocketAddress
|
Gio.Socket | |
get_protocol
()
:
Gio.SocketProtocol
|
Gio.Socket | |
get_remote_address
()
:
Gio.SocketAddress
|
Gio.Socket | |
get_socket_type
()
:
Gio.SocketType
|
Gio.Socket | |
get_timeout
()
:
Number
|
Gio.Socket | |
init
(Cancellable cancellable)
:
Boolean
|
Gio.Initable | |
is_closed
()
:
Boolean
|
Gio.Socket | |
is_connected
()
:
Boolean
|
Gio.Socket | |
listen
()
:
Boolean
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
receive_message
(SocketAddress address, InputVector vectors, Number num_vectors, SocketControlMessage messages, Object out_values, Number flags, Cancellable cancellable)
:
Number
|
Gio.Socket | |
|
Gio.Socket | |
send_message
(SocketAddress address, OutputVector vectors, Number num_vectors, SocketControlMessage messages, Number num_messages, Number flags, Cancellable cancellable)
:
Number
|
Gio.Socket | |
|
Gio.Socket | |
set_blocking
(Boolean blocking)
:
none
|
Gio.Socket | |
set_keepalive
(Boolean keepalive)
:
none
|
Gio.Socket | |
set_listen_backlog
(Number backlog)
:
none
|
Gio.Socket | |
set_timeout
(Number timeout)
:
none
|
Gio.Socket | |
Gio.Socket | ||
speaks_ipv4
()
:
Boolean
|
Gio.Socket |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.SocketConnection
Property |
socket : Gio.Socket
|
Gio.SocketConnection
Method |
get_socket
()
:
Gio.Socket
|
Gio.SocketListener
Method |
|
Gio.SocketListener
Method |
|
Gio.SocketListener
Method |
|