W Wrapl, The Programming Language

Libraries:Gtk:Gio:GInetSocketAddress

Types

T

Inherits from:

An IPv4 or IPv6 socket address; that is, the combination of a Gtk.Gio.GInetAddress.T and a port number.



Constants

Nil : T

Functions

GetType() : Gtk.GObject.Type.T



New(address @ Gtk.Gio.GInetAddress.T, port @ Std.Integer.SmallT) : Gtk.Gio.GInetSocketAddress.T

Creates a new T for address and port.

address a Gtk.Gio.GInetAddress.T
port a port number
Returns a new T


Methods

:GetAddress(self @ T) : Gtk.Gio.GInetAddress.T

Gets address's Gtk.Gio.GInetAddress.T.

address a T
Returns the Gtk.Gio.GInetAddress.T for address, which must be g_object_ref()'d if it will be stored. [transfer none]


:GetPort(self @ T) : Std.Integer.SmallT

Gets address's port.

address a T
Returns the port for address


:Priv(self @ T) : Std.Object.T

:setPriv(self @ T, value @ Std.Object.T) : Std.Object.T