NetworkAddress.this

Creates a new GSocketConnectable for connecting to the given hostname and port. Since 2.22

  1. this(GNetworkAddress* gNetworkAddress)
  2. this(string hostname, ushort port)
    class NetworkAddress
    this
    (
    string hostname
    ,
    ushort port
    )

Parameters

hostname string

the hostname

port ushort

the port

Throws

ConstructionException GTK+ fails to create the object.

Meta