Packages
gio-2.0
GLib
Socket
blocking
broadcast
family
fd
keepalive
listen_backlog
local_address
multicast_loopback
multicast_ttl
protocol
remote_address
timeout
ttl
type
Socket
Socket.from_fd
accept
bind
check_connect_result
close
condition_check
condition_timed_wait
condition_wait
connect
create_source
get_available_bytes
get_blocking
get_broadcast
get_credentials
get_family
get_fd
get_keepalive
get_listen_backlog
get_local_address
get_multicast_loopback
get_multicast_ttl
get_option
get_protocol
get_remote_address
get_socket_type
get_timeout
get_ttl
is_closed
is_connected
join_multicast_group
join_multicast_group_ssm
leave_multicast_group
leave_multicast_group_ssm
listen
receive
receive_bytes
receive_bytes_from
receive_from
receive_message
receive_messages
receive_with_blocking
send
send_message
send_message_with_timeout
send_messages
send_to
send_with_blocking
set_blocking
set_broadcast
set_keepalive
set_listen_backlog
set_multicast_loopback
set_multicast_ttl
set_option
set_timeout
set_ttl
shutdown
speaks_ipv4
get_family
Description:
public
SocketFamily
get_family
()
Gets the socket family of the socket.
Parameters:
this
a
Socket
.
Returns:
a
SocketFamily