NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Branch:
- api-changes
- Revision:
- 26:9774a2edad71
- Parent:
- 25:ed7b2a52e8ac
- Child:
- 28:163fbe3263f4
--- a/NetworkInterface.h Thu Feb 18 06:01:55 2016 -0600 +++ b/NetworkInterface.h Thu Feb 18 06:16:11 2016 -0600 @@ -28,10 +28,6 @@ class NetworkInterface { public: - NetworkInterface(); - virtual ~NetworkInterface(); - - /** Enables DHCP and clears any static address * DHCP is enabled by default * @return 0 on success @@ -78,8 +74,10 @@ */ virtual bool isConnected(void); +protected: + NetworkInterface(); + virtual ~NetworkInterface(); -private: friend class Socket; /** Internally create a socket