1 #ifndef AESALON_PLATFORM_TCPSOCKET_H
2 #define AESALON_PLATFORM_TCPSOCKET_H
14 TCPSocket(std::string host
, int port
);
15 TCPSocket(int socket_fd
) : socket_fd(socket_fd
), valid(true) {}
18 void send_data(std::string data
);
19 std::string
get_data();
23 bool is_valid() const { return valid
; }
26 } // namespace Platform
27 } // namespace Aesalon