일단은 멀티로 접속이 됨..
This commit is contained in:
@@ -9,8 +9,7 @@ class TCPSocket : public Socket {
|
||||
using Socket::Socket;
|
||||
int init(int domain);
|
||||
int listen(int __n);
|
||||
void accept(TCPSocket& newSock, Address& addr);
|
||||
int connect(Network::Address& serveraddr);
|
||||
void accept(std::shared_ptr<TCPSocket>& newSock, Address& addr);
|
||||
int recv(void* __restrict __buf, size_t __n, int __flags);
|
||||
int send(const void* __buf, size_t __n, int __flags);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user