리눅스랑 코드 동기화
This commit is contained in:
@@ -7,10 +7,10 @@ class TCPSocket : public Socket {
|
||||
public:
|
||||
using Socket::Socket;
|
||||
using Socket::init;
|
||||
void init(int domain);
|
||||
void listen(int __n);
|
||||
int init(int domain);
|
||||
int listen(int __n);
|
||||
void accept(TCPSocket& newSock, Address& addr);
|
||||
void connect(Chattr::Address& serveraddr);
|
||||
int connect(Chattr::Address& serveraddr);
|
||||
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