Initial repository 1.0.0

This commit is contained in:
Brad Arant committed 2019-02-07 13:28:21 -08:00
commit d8b1275884
1861 files changed
+66342

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#ifndef __IPAddress_h__
#define __IPAddress_h__
#include "includes"
#include "Object.h"
namespace core {
class IPAddress : public Object {
public:
IPAddress();
~IPAddress();
struct sockaddr_in address;
socklen_t addressLength;
std::string getClientAddress(); ///<Get the client network address as xxx.xxx.xxx.xxx.
std::string getClientAddressAndPort(); ///<Get the client network address and port as xxx.xxx.xxx.xxx:ppppp.
int getClientPort(); ///<Get the client network port number.
};
}
#endif