mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-21 01:52:01 +03:00
3f6146b15f
and client probably is.
28 lines
464 B
C++
28 lines
464 B
C++
#ifndef CNETWORKADDRESS_H
|
|
#define CNETWORKADDRESS_H
|
|
|
|
#include "BasicTypes.h"
|
|
#include "CNetwork.h"
|
|
#include "XSocket.h"
|
|
|
|
class CString;
|
|
|
|
class CNetworkAddress {
|
|
public:
|
|
CNetworkAddress(UInt16 port);
|
|
CNetworkAddress(const CString& hostname, UInt16 port);
|
|
~CNetworkAddress();
|
|
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
const CNetwork::Address* getAddress() const;
|
|
CNetwork::AddressLength getAddressLength() const;
|
|
|
|
private:
|
|
CNetwork::Address m_address;
|
|
};
|
|
|
|
#endif
|