diff options
author | Malfurious <m@lfurio.us> | 2024-10-24 08:44:36 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-10-25 03:31:18 -0400 |
commit | 6285b4d8b283fb38112ec04b1cc570a8c0c9844b (patch) | |
tree | 765bd8b0334bd4781e804258a7b7f57925fc3e3b /Socket.h | |
parent | 512aa4c77b3dc0d72db713a9215ff65a98a99ec3 (diff) | |
download | compass-6285b4d8b283fb38112ec04b1cc570a8c0c9844b.tar.gz compass-6285b4d8b283fb38112ec04b1cc570a8c0c9844b.zip |
Remove Socket class
The remote socket functionality was only stub code, never fully
implemented. A network architecture for compass keychains is no longer
a design goal, so the dead code is removed.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'Socket.h')
-rw-r--r-- | Socket.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Socket.h b/Socket.h deleted file mode 100644 index 86b6478..0000000 --- a/Socket.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef SOCKET_H
-#define SOCKET_H
-
-#include <string>
-#include <cstring>
-
-#ifdef WIN32
-#else
-#include <sys/socket.h>
-#include <netdb.h>
-#endif // WIN32
-
-class Socket {
-public:
- Socket();
- virtual ~Socket();
-
- void conn(std::string host, std::string port);
- void sendline(std::string line);
- std::string readline();
- void clo();
-
-private:
- /*int sockid;
- addrinfo hostInfo;
- addrinfo* hostInfoList;*/
-};
-
-#endif // SOCKET_H
|