SocketAddress.this

Creates a gio.SocketAddress subclass corresponding to the native struct sockaddr native.

  1. this(GSocketAddress* gSocketAddress, bool ownedRef)
  2. this(void* native, size_t len)
    class SocketAddress
    this
    (
    void* native
    ,
    size_t len
    )

Parameters

native void*

a pointer to a struct sockaddr

len size_t

the size of the memory location pointed to by native

Return Value

a new gio.SocketAddress if native could successfully be converted, otherwise NULL

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22