Class InetSocketAddress
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class InetSocketAddress : SocketAddress, IObject, INotifyPropertyChanged, IDisposable, SocketConnectable, IHandle, GTypeProvider
- Inheritance
-
InetSocketAddress
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
InetSocketAddress(bool, params ConstructArgument[])
protected InetSocketAddress(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
InetSocketAddress(IntPtr, bool)
protected InetSocketAddress(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
AddressPropertyDefinition
public static readonly Property<InetAddress?, InetSocketAddress> AddressPropertyDefinition
Field Value
- Property<InetAddress, InetSocketAddress>
FlowinfoPropertyDefinition
public static readonly Property<uint, InetSocketAddress> FlowinfoPropertyDefinition
Field Value
- Property<uint, InetSocketAddress>
PortPropertyDefinition
public static readonly Property<uint, InetSocketAddress> PortPropertyDefinition
Field Value
- Property<uint, InetSocketAddress>
ScopeIdPropertyDefinition
public static readonly Property<uint, InetSocketAddress> ScopeIdPropertyDefinition
Field Value
- Property<uint, InetSocketAddress>
Properties
Address
public InetAddress? Address { get; }
Property Value
- InetAddress
Flowinfo
public uint Flowinfo { get; }
Property Value
- uint
Port
public uint Port { get; }
Property Value
- uint
ScopeId
public uint ScopeId { get; }
Property Value
- uint
Methods
Enumerate()
[Version("2.22")]
public SocketAddressEnumerator Enumerate()
Returns
- SocketAddressEnumerator
GetAddress()
[Version("2.22")]
public InetAddress GetAddress()
Returns
- InetAddress
GetFlowinfo()
[Version("2.32")]
public uint GetFlowinfo()
Returns
- uint
GetGType()
public static Type GetGType()
Returns
- Type
GetPort()
[Version("2.22")]
public ushort GetPort()
Returns
- ushort
GetScopeId()
[Version("2.32")]
public uint GetScopeId()
Returns
- uint
New(InetAddress, ushort)
[Version("2.22")]
public static InetSocketAddress New(InetAddress address, ushort port)
Parameters
address
InetAddress
port
ushort
Returns
- InetSocketAddress
NewFromString(string, uint)
[Version("2.40")]
public static InetSocketAddress? NewFromString(string address, uint port)
Parameters
address
string
port
uint
Returns
- InetSocketAddress
ProxyEnumerate()
[Version("2.26")]
public SocketAddressEnumerator ProxyEnumerate()
Returns
- SocketAddressEnumerator
ToString()
[Version("2.48")]
public string ToString()
Returns
- string