Update tcp_client-windows.h

Added default value to argument
pull/3432/head
Mihir Patel 2 months ago committed by GitHub
parent 4f9b630d46
commit 6b231754f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -113,7 +113,7 @@ public:
} }
// try to connect or throw on failure // try to connect or throw on failure
void connect(const std::string &host, int port, int timeout_ms) { void connect(const std::string &host, int port, int timeout_ms = 0) {
if (is_connected()) { if (is_connected()) {
close(); close();
} }

Loading…
Cancel
Save