Soup.Address – libsoup-2.4 Reference Manual
Packages
libsoup-2.4
Soup
Address
family
name
physical
port
protocol
sockaddr
Address
Address.any
Address.from_sockaddr
equal_by_ip
equal_by_name
get_gsockaddr
get_name
get_physical
get_port
get_sockaddr
hash_by_ip
hash_by_name
is_resolved
resolve_async
resolve_sync
Address
Object Hierarchy:
Description:
public
class
Address
:
Object
,
SocketConnectable
Namespace:
Soup
Package:
libsoup-2.4
Content:
Properties:
public
AddressFamily
family
{
construct
set
;
get
; }
public
string
name
{
construct
set
;
get
; }
public
string
physical
{
get
; }
public
int
port
{
construct
set
;
get
; }
public
string
protocol
{
construct
set
;
owned
get
; }
public
void
*
sockaddr
{
construct
set
;
get
; }
Creation methods:
public
Address
(
string
name,
uint
port)
public
Address.any
(
AddressFamily
family,
uint
port)
public
Address.from_sockaddr
(
void
* sa,
int
len)
Methods:
public
bool
equal_by_ip
(
Address
addr2)
public
bool
equal_by_name
(
Address
addr2)
public
SocketAddress
get_gsockaddr
()
public
unowned
string
get_name
()
public
unowned
string
get_physical
()
public
uint
get_port
()
public
void
*
get_sockaddr
(
int
len)
public
uint
hash_by_ip
()
public
uint
hash_by_name
()
public
bool
is_resolved
()
public
void
resolve_async
(
MainContext
? async_context,
Cancellable
? cancellable,
AddressCallback
callback)
public
uint
resolve_sync
(
Cancellable
? cancellable =
null
)
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
All known members inherited from interface GLib.SocketConnectable
enumerate
proxy_enumerate