diff options
Diffstat (limited to 'net/base/client_socket.h')
-rw-r--r-- | net/base/client_socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/client_socket.h b/net/base/client_socket.h index 3553d52..4d25b38 100644 --- a/net/base/client_socket.h +++ b/net/base/client_socket.h @@ -33,6 +33,11 @@ class ClientSocket : public Socket { // virtual int Connect(CompletionCallback* callback) = 0; + // If a non-fatal error occurs during Connect, the consumer can call this + // method to re-Connect ignoring the error that occured. This call is only + // valid for certain errors. + virtual int ReconnectIgnoringLastError(CompletionCallback* callback) = 0; + // Called to disconnect a connected socket. Does nothing if the socket is // already disconnected. After calling Disconnect it is possible to call // Connect again to establish a new connection. |