Included Cpp in sources

This commit is contained in:
2020-06-07 15:07:12 +02:00
parent 0cad109801
commit 70e467b902
22 changed files with 1791 additions and 6 deletions

31
src/network/Address.h Normal file
View File

@ -0,0 +1,31 @@
/**
* Necronda Web Server 3.0
* HttpHeader.h - HttpHeader Class definition
* Lorenz Stechauner, 2018-05-09
*/
#ifndef NECRONDA_ADDRESS
#define NECRONDA_ADDRESS
using namespace std;
class Address {
private:
unsigned int address;
public:
Address();
explicit Address(string address);
explicit Address(struct sockaddr_in *address);
struct sockaddr_in toStruct(unsigned short port) const;
string toString() const;
bool isLocal();
};
#endif