GObject.Object
 Gio.NetworkAddress
                Gio.NetworkAddress
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GNetworkAddress | 
| Class : | NetworkAddress | 
| Implements: | Gio.SocketConnectable | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				hostname : String 
                   
                     
			 | Gio.NetworkAddress | |
| 
				parent_instance : GObject.Object 
                 read only  
                     
			 | Gio.NetworkAddress | |
| 
				port : guint32 
                   
                     
			 | Gio.NetworkAddress | |
| 
				priv : Gio.NetworkAddressPrivate 
                 read only  
                     
			 | Gio.NetworkAddress | |
| 
				scheme : String 
                   
                     
			 | Gio.NetworkAddress | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.NetworkAddress
				
				 (Object properties) 
			
				
			
		 Create a new Gio.NetworkAddress 
			
			
			
				Create a new Gio.NetworkAddress
			
			
				 
 | ||
| Creates a new GSocketConnectable for connecting to the given 
			
				Creates a new GSocketConnectable for connecting to the given
		    
				
			
			
			
			
				 
 
 | Gio.NetworkAddress | |
| Creates a new GSocketConnectable for connecting to the given parsing host_and_port fails. 
			
				Creates a new GSocketConnectable for connecting to the given parsing host_and_port fails. address, an IPv4 address, or a domain name (in which case a DNS lookup is performed). Quoting with [] is supported for all address types. A port override may be specified in the usual way with a colon. Ports may be given as decimal numbers or symbolic names (in which case an /etc/services lookup is performed). If no port is specified in host_and_port then default_port will be used as the port number to connect to. In general, host_and_port is expected to be provided by the user (allowing them to give the hostname, and a port overide if necessary) and default_port is expected to be provided by the application. 
 
 | Gio.NetworkAddress | |
| Creates a new GSocketConnectable for connecting to the given Using this rather than g_network_address_new() or g_network_address_parse_host() allows GSocketClient to determine when to use application-specific proxy protocols. 
			
				Creates a new GSocketConnectable for connecting to the given Using this rather than g_network_address_new() or g_network_address_parse_host() allows GSocketClient to determine when to use application-specific proxy protocols. 
 
 | Gio.NetworkAddress | |
| 
			enumerate
				
				 () 
			
				
					 : 
					Gio.SocketAddressEnumerator
					
				
			
		 Creates a GSocketAddressEnumerator for connectable. 
			
				Creates a GSocketAddressEnumerator for connectable.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.SocketConnectable | |
| 
			get_hostname
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets addr's hostname. 
			
				Gets addr's hostname. This might be either UTF-8 or ASCII-encoded, depending on what addr was created with. 
 | Gio.NetworkAddress | |
| 
			get_port
				
				 () 
			
				
					 : 
					guint16
					
				
			
		 Gets addr's port number 
			
				Gets addr's port number
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.NetworkAddress | |
| 
			get_scheme
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets addr's scheme 
			
				Gets addr's scheme
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.NetworkAddress | |
| 
			proxy_enumerate
				
				 () 
			
				
					 : 
					Gio.SocketAddressEnumerator
					
				
			
		 Creates a GSocketAddressEnumerator for connectable that will return GProxyAddresses for addresses that you must connect to via a proxy. 
			
				Creates a GSocketAddressEnumerator for connectable that will return GProxyAddresses for addresses that you must connect to via a proxy. If connectable does not implement g_socket_connectable_proxy_enumerate(), this will fall back to calling g_socket_connectable_enumerate(). 
 | Gio.SocketConnectable | |
| None |