c
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 |
| Properties | Defined By | |
|---|---|---|
|
blocking : gboolean
|
Gio.Socket | |
|
broadcast : gboolean
|
Gio.Socket | |
|
family : Gio.SocketFamily
|
Gio.Socket | |
|
fd : gint32
|
Gio.Socket | |
|
keepalive : gboolean
|
Gio.Socket | |
|
listen_backlog : gint32
|
Gio.Socket | |
|
local_address : Gio.SocketAddress
read only
|
Gio.Socket | |
|
multicast_loopback : gboolean
|
Gio.Socket | |
|
multicast_ttl : guint32
|
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 : guint32
|
Gio.Socket | |
|
ttl : guint32
|
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
()
:
gboolean
|
Gio.Socket | |
|
close
()
:
gboolean
|
Gio.Socket | |
|
condition_check
(IOCondition condition)
:
GLib.IOCondition
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
|
connection_factory_create_connection
()
:
Gio.SocketConnection
|
Gio.Socket | |
|
get_available_bytes
()
:
gint64
|
Gio.Socket | |
|
get_blocking
()
:
gboolean
|
Gio.Socket | |
|
get_broadcast
()
:
gboolean
|
Gio.Socket | |
|
get_credentials
()
:
Gio.Credentials
|
Gio.Socket | |
|
get_family
()
:
Gio.SocketFamily
|
Gio.Socket | |
|
get_fd
()
:
gint32
|
Gio.Socket | |
|
get_keepalive
()
:
gboolean
|
Gio.Socket | |
|
get_listen_backlog
()
:
gint32
|
Gio.Socket | |
|
get_local_address
()
:
Gio.SocketAddress
|
Gio.Socket | |
|
get_multicast_loopback
()
:
gboolean
|
Gio.Socket | |
|
get_multicast_ttl
()
:
guint32
|
Gio.Socket | |
|
get_protocol
()
:
Gio.SocketProtocol
|
Gio.Socket | |
|
get_remote_address
()
:
Gio.SocketAddress
|
Gio.Socket | |
|
get_socket_type
()
:
Gio.SocketType
|
Gio.Socket | |
|
get_timeout
()
:
guint32
|
Gio.Socket | |
|
get_ttl
()
:
guint32
|
Gio.Socket | |
|
init
(Cancellable cancellable)
:
gboolean
|
Gio.Initable | |
|
is_closed
()
:
gboolean
|
Gio.Socket | |
|
is_connected
()
:
gboolean
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
|
listen
()
:
gboolean
|
Gio.Socket | |
|
Gio.Socket | |
|
Gio.Socket | |
|
receive_message
(Object out_values, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable)
:
gint64
|
Gio.Socket | |
|
receive_with_blocking
(String buffer, guint64 size, gboolean blocking, Cancellable cancellable)
:
gint64
|
Gio.Socket | |
|
Gio.Socket | |
|
send_message
(SocketAddress address, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable)
:
gint64
|
Gio.Socket | |
|
Gio.Socket | |
|
send_with_blocking
(String buffer, guint64 size, gboolean blocking, Cancellable cancellable)
:
gint64
|
Gio.Socket | |
|
set_blocking
(gboolean blocking)
:
none
|
Gio.Socket | |
|
set_broadcast
(gboolean broadcast)
:
none
|
Gio.Socket | |
|
set_keepalive
(gboolean keepalive)
:
none
|
Gio.Socket | |
|
set_listen_backlog
(gint32 backlog)
:
none
|
Gio.Socket | |
|
set_multicast_loopback
(gboolean loopback)
:
none
|
Gio.Socket | |
|
set_multicast_ttl
(guint32 ttl)
:
none
|
Gio.Socket | |
|
set_timeout
(guint32 timeout)
:
none
|
Gio.Socket | |
|
set_ttl
(guint32 ttl)
:
none
|
Gio.Socket | |
| Gio.Socket | ||
|
speaks_ipv4
()
:
gboolean
|
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 |
|
|
Gio.TcpWrapperConnection
Method |
Create a new Gio.TcpWrapperConnection
|