Working compile copy.
This commit is contained in:
1 parent
41ff757f09
commit
f894f3fb66
54 files changed
+249
-355
No files matched your search
+3
-3
@@ -11,13 +11,13 @@ namespace core {
|
||||
public:
|
||||
IPAddress();
|
||||
IPAddress(std::string address);
|
||||
IPAddress(std::string address, short int port);
|
||||
IPAddress(std::string address, int port);
|
||||
~IPAddress();
|
||||
|
||||
struct sockaddr_in address;
|
||||
struct sockaddr_in addr;
|
||||
socklen_t addressLength;
|
||||
struct sockaddr *pointer;
|
||||
|
||||
struct sockaddr * getPointer();
|
||||
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.
|
||||
|
||||
Reference in new issue
Block a user