+Web: added extended three-parameter version of Socket::Data::SetSockError to facilitate error handling in SSL sockets; fixed end-of-file detection in SSLSocketData::Read

git-svn-id: svn://ultimatepp.org/upp/trunk@3235 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
rylek 2011-02-22 10:55:02 +00:00
commit f7781f0fa0
3 changed files with 31 additions and 27 deletions

View file

@ -55,9 +55,10 @@ public:
protected:
SOCKET AcceptRaw(dword *ipaddr, int timeout_msec);
void Attach(SOCKET socket, bool nodelay, bool is_blocking);
void SetSockResError(String context);
void SetSockResError(const String& context);
void AttachRaw(SOCKET s, bool blocking);
void SetSockError(String context);
void SetSockError(const String& context);
void SetSockError(const String& context, int code, const String& errortext);
friend void AttachSocket(Socket& socket, SOCKET hsocket, bool blocking);
};