package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Inet_address/index.html
Module Wrappers.Inet_address
type t = [ `inet_address | `object_ ] Gobject.objval new_any : Gio_enums.socketfamily -> tCreate a new InetAddress
val new_from_string : string -> tCreate a new InetAddress
val new_loopback : Gio_enums.socketfamily -> tCreate a new InetAddress
val to_string : t -> stringConverts @address to string form.
Gets the size of the native raw binary address for @address. This is the size of the data that you get from g_inet_address_to_bytes().
val get_is_site_local : t -> boolTests whether @address is a site-local address such as 10.0.0.1 (that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall).
val get_is_multicast : t -> boolTests whether @address is a multicast address.
val get_is_mc_site_local : t -> boolTests whether @address is a site-local multicast address.
val get_is_mc_org_local : t -> boolTests whether @address is an organization-local multicast address.
val get_is_mc_node_local : t -> boolTests whether @address is a node-local multicast address.
val get_is_mc_link_local : t -> boolTests whether @address is a link-local multicast address.
val get_is_mc_global : t -> boolTests whether @address is a global multicast address.
val get_is_loopback : t -> boolTests whether @address is the loopback address for its family.
val get_is_link_local : t -> boolTests whether @address is a link-local address (that is, if it identifies a host on a local network that is not connected to the Internet).
val get_is_any : t -> boolTests whether @address is the "any" address for its family.
val get_family : t -> Gio_enums.socketfamilyGets @address's family