*Core: Copy constructor of TcpSocket now private

git-svn-id: svn://ultimatepp.org/upp/trunk@5322 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-09-07 08:28:07 +00:00
parent 37e4c669e7
commit 4fa78d11cd
2 changed files with 8 additions and 6 deletions

View file

@ -39,6 +39,8 @@ class IpAddrInfo {
static auxthread_t auxthread__ Thread(void *ptr);
void Start();
IpAddrInfo(const IpAddrInfo&);
public:
void Start(const String& host, int port);
@ -143,10 +145,12 @@ class TcpSocket {
void SetSockError(const char *context, const char *errdesc);
void SetSockError(const char *context);
static int GetErrorCode();
bool WouldBlock();
static void Init();
bool WouldBlock();
static int GetErrorCode();
static void Init();
TcpSocket(const TcpSocket&);
public:
Callback WhenWait;
@ -225,6 +229,7 @@ public:
class SocketWaitEvent {
Vector< Tuple2<int, dword> > socket;
fd_set read[1], write[1], exception[1];
SocketWaitEvent(const SocketWaitEvent &);
public:
void Clear() { socket.Clear(); }

View file

@ -1,3 +0,0 @@
Web
Web/TServ
Web/SSL