GLib.SocketListener – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
SocketListener
listen_backlog
SocketListener
accept
accept_async
accept_socket
accept_socket_async
add_address
add_any_inet_port
add_inet_port
add_socket
changed
close
set_backlog
SocketListener
Object Hierarchy:
Description:
public
class
SocketListener
:
Object
All known sub-classes:
SocketService
ThreadedSocketService
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
int
listen_backlog
{
construct
set
;
get
; }
Creation methods:
public
SocketListener
()
Methods:
public
SocketConnection
accept
(
out
Object
source_object =
null
,
Cancellable
? cancellable =
null
)
throws
Error
public
async
SocketConnection
accept_async
(
Cancellable
? cancellable =
null
,
out
Object
source_object =
null
)
throws
Error
public
Socket
accept_socket
(
out
Object
source_object =
null
,
Cancellable
? cancellable =
null
)
throws
Error
public
async
Socket
accept_socket_async
(
Cancellable
? cancellable =
null
,
out
Object
source_object =
null
)
throws
Error
public
bool
add_address
(
SocketAddress
address,
SocketType
type,
SocketProtocol
protocol,
Object
? source_object,
out
SocketAddress
effective_address)
throws
Error
public
uint16
add_any_inet_port
(
Object
? source_object)
throws
Error
public
bool
add_inet_port
(
uint16
port,
Object
? source_object)
throws
Error
public
bool
add_socket
(
Socket
socket,
Object
? source_object)
throws
Error
public
virtual
void
changed
()
public
void
close
()
public
void
set_backlog
(
int
listen_backlog)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count