1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/Net/SocketAddress.h
Tom Lint cc43a97149 Updated libSystem.XML file comments
Added missing TypeInfos to libSystem
Updated libSystem file comments
2013-10-03 17:38:47 +02:00

44 lines
1.0 KiB
C++

/*****************************************************************************
* SocketAddress.h *
* *
* System::Net::SocketAddress class definition file. *
* Copyright (c) XFX Team. All rights reserved. *
*****************************************************************************/
#ifndef _SYSTEM_NET_SOCKETADDRESS_
#define _SYSTEM_NET_SOCKETADDRESS_
#include "../Object.h"
#include "../Types.h"
#include "Sockets/Enums.h"
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);
const Type& GetType();
const String ToString();
};
}
}
#endif //_SYSTEM_NET_SOCKETADDRESS_