/***************************************************************************** * SocketAddress.h * * * * System::Net::SocketAddress class definition file. * * Copyright (c) XFX Team. All rights reserved. * *****************************************************************************/ #ifndef _SYSTEM_NET_SOCKETADDRESS_ #define _SYSTEM_NET_SOCKETADDRESS_ #include #include #include using namespace System::Net::Sockets; namespace System { namespace Net { /** * Stores serialized information from System::Net::EndPoint derived classes. */ class SocketAddress : public Object { private: AddressFamily_t addressFamily; int bufferSize; public: AddressFamily_t getFamily(); int getSize(); byte operator[](int offset); SocketAddress(AddressFamily_t family); SocketAddress(AddressFamily_t family, int size); bool Equals(Object const * const obj) const; int GetHashCode() const; static const Type& GetType(); const String ToString(); }; } } #endif //_SYSTEM_NET_SOCKETADDRESS_