package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Inet_socket_address

type t = [ `inet_socket_address | `socket_address | `object_ ] Gobject.obj
val new_ : [ `inet_address | `object_ ] Gobject.obj -> UInt16.t -> t

Create a new InetSocketAddress

val new_from_string : string -> int -> t

Create a new InetSocketAddress

val get_scope_id : t -> UInt32.t

Gets the `sin6_scope_id` field from @address, which must be an IPv6 address.

val get_port : t -> UInt16.t

Gets @address's port.

val get_flowinfo : t -> UInt32.t

Gets the `sin6_flowinfo` field from @address, which must be an IPv6 address.

val get_address : t -> [ `inet_address | `object_ ] Gobject.obj

Gets @address's #GInetAddress.