이대로 제출해버릴까..

This commit is contained in:
2025-06-21 22:19:10 +09:00
parent 3a526edcf4
commit 0536f9fb11
19 changed files with 343 additions and 89 deletions

View File

@@ -7,7 +7,7 @@ struct Address;
class Socket {
public:
Socket() = default;
Socket();
Socket(int domain, int type, int protocol);
~Socket();

View File

@@ -7,6 +7,8 @@ class TCPSocket : public Socket {
public:
using Socket::init;
using Socket::Socket;
TCPSocket(int domain);
int init(int domain);
int listen(int __n);
void accept(std::shared_ptr<TCPSocket>& newSock, Address& addr);