GObject.Object
 Gio.SocketAddress
                Gio.SocketAddress
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GSocketAddress | 
| Class : | SocketAddress | 
| Implements: | Gio.SocketConnectable | 
| Subclasses: | Gio.InetSocketAddress, Gio.ProxyAddress | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				family : Gio.SocketFamily 
                 read only  
                     
			 | Gio.SocketAddress | |
| 
				parent_instance : GObject.Object 
                 read only  
                     
			 | Gio.SocketAddress | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.SocketAddress
				
				 (Object properties) 
			
				
			
		 Create a new Gio.SocketAddress 
			
			
			
				Create a new Gio.SocketAddress
			
			
				 
 | ||
| Create a new Gio.SocketAddress 
			
			
			
				Create a new Gio.SocketAddress
			
			
				 
 
 | ||
| 
			enumerate
				
				 () 
			
				
					 : 
					Gio.SocketAddressEnumerator
					
				
			
		 Creates a GSocketAddressEnumerator for connectable. 
			
				Creates a GSocketAddressEnumerator for connectable.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.SocketConnectable | |
| 
			get_family
				
				 () 
			
				
					 : 
					Gio.SocketFamily
					
				
			
		 Gets the socket family type of address. 
			
				Gets the socket family type of address.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.SocketAddress | |
| 
			get_native_size
				
				 () 
			
				
					 : 
					gint32
					
				
			
		 Gets the size of address's native  
			
				Gets the size of address's native  You can use this to allocate memory to pass to g_socket_address_to_native(). 
 | Gio.SocketAddress | |
| 
			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 | |
| Converts a GSocketAddress to a native  sockaddr connect() or bind(). 
			
				Converts a GSocketAddress to a native  sockaddr connect() or bind(). If not enough space is availible, a G_IO_ERROR_NO_SPACE error is returned. If the address type is not known on the system then a G_IO_ERROR_NOT_SUPPORTED error is returned. 
 
 | Gio.SocketAddress | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| Gio.Socket Property | 
				local_address : Gio.SocketAddress 
                 read only  
                     
			 | 
| Gio.Socket Property | 
				remote_address : Gio.SocketAddress 
                 read only  
                     
			 | 
| Gio.Socket Method | When a socket is created it is attached to an address family, but it doesn't have an address in this family. | 
| Gio.Socket Method | Connect the socket to the specified remote address. | 
| Gio.Socket Method | 
			get_local_address
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Try to get the local address of a bound socket. | 
| Gio.Socket Method | 
			get_remote_address
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Try to get the remove address of a connected socket. | 
| Gio.Socket Method | Receive data (up to size bytes) from a socket. | 
| Gio.Socket Method | 
			receive_message
				
				 (SocketAddress address, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable) 
			
				
					 : 
					gint32
					
				
			
		 Receive data from a socket. | 
| Gio.Socket Method | 
			send_message
				
				 (SocketAddress address, Array vectors, gint32 num_vectors, Array messages, gint32 num_messages, gint32 flags, Cancellable cancellable) 
			
				
					 : 
					gint32
					
				
			
		 Send data to address on socket. | 
| Gio.Socket Method | Tries to send size bytes from buffer to address. | 
| Gio.SocketAddressEnumerator Method | 
			next
				
				 (Cancellable cancellable) 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Retrieves the next GSocketAddress from enumerator. | 
| Gio.SocketAddressEnumerator Method | 
			next_finish
				
				 (AsyncResult result) 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Retrieves the result of a completed call to g_socket_address_enumerator_next_async(). | 
| Gio.SocketClient Property | 
				local_address : Gio.SocketAddress 
                   
                     
			 | 
| Gio.SocketClient Method | 
			get_local_address
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Gets the local address of the socket client. | 
| Gio.SocketClient Method | 
			set_local_address
				
				 (SocketAddress address) 
			
				
					 : 
					none
					
				
			
		 Sets the local address of the socket client. | 
| Gio.SocketConnection Method | 
			get_local_address
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Try to get the local address of a socket connection. | 
| Gio.SocketConnection Method | 
			get_remote_address
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Try to get the remote address of a socket connection. | 
| Gio.SocketListener Method | 
			add_address
				
				 (SocketAddress address, SocketType type, SocketProtocol protocol, Object source_object, Object out_values) 
			
				
					 : 
					gboolean
					
				
			
		 Creates a socket of type type and protocol protocol, binds it to address and adds it to the set of sockets we're accepting sockets from. | 
| Soup.Address Method | 
			get_gsockaddr
				
				 () 
			
				
					 : 
					Gio.SocketAddress
					
				
			
		 Creates a new GSocketAddress corresponding to addr (which is assumed to only have one socket address associated with it). |