#pragma once #include "Socket.hpp" #include "precomp.hpp" namespace Chattr { class TCPSocket : public Socket { public: using Socket::Socket; using Socket::init; void init(int domain); void listen(int __n); void accept(TCPSocket& newSock, Address& addr); void connect(Chattr::Address& serveraddr); }; }