SocketAddress.this

Creates a #GSocketAddress 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 #GSocketAddress if @native could successfully be converted, otherwise %NULL

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22