diff options
Diffstat (limited to 'net/socket/client_socket.h')
-rw-r--r-- | net/socket/client_socket.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/socket/client_socket.h b/net/socket/client_socket.h index 358716c..18dd4a8 100644 --- a/net/socket/client_socket.h +++ b/net/socket/client_socket.h @@ -31,7 +31,11 @@ class ClientSocket : public Socket { // // Connect may also be called again after a call to the Disconnect method. // - virtual int Connect(CompletionCallback* callback) = 0; + virtual int Connect(CompletionCallback* callback +#ifdef ANDROID + , bool wait_for_connect +#endif + ) = 0; // Called to disconnect a socket. Does nothing if the socket is already // disconnected. After calling Disconnect it is possible to call Connect |