System::Net::SocketAddress class
Contents
[
Hide
]SocketAddress class
Used to store serialized information about the EndPoint class instances. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class SocketAddress : public System::Object
Methods
Method | Description |
---|---|
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_Family() | RTTI information. |
get_Size() | Returns the underlying buffer size. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
idx_get(int32_t) | Gets a value of the underlying buffer at the specified index. |
idx_set(int32_t, uint8_t) | Sets a value of the underlying buffer at the specified index. |
SocketAddress(Sockets::AddressFamily) | Constructs a new instance. |
SocketAddress(Sockets::AddressFamily, int32_t) | Constructs a new instance. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class Object
- Namespace System::Net
- Library Aspose.Page for C++