Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
b885c82f
Unverified
Commit
b885c82f
authored
Jul 23, 2020
by
Chao Ma
Committed by
GitHub
Jul 22, 2020
Browse files
[RPC] Remove socket->SetTimeOut() (#1851)
* update * update * update * update * udpate
parent
0fb615b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/rpc/network/socket_communicator.cc
src/rpc/network/socket_communicator.cc
+0
-1
No files found.
src/rpc/network/socket_communicator.cc
View file @
b885c82f
...
...
@@ -192,7 +192,6 @@ bool SocketReceiver::Wait(const char* addr, int num_sender) {
}
// Initialize socket and socket-thread
server_socket_
=
new
TCPSocket
();
server_socket_
->
SetTimeout
(
kTimeOut
);
// seconds
// Bind socket
if
(
server_socket_
->
Bind
(
ip
.
c_str
(),
port
)
==
false
)
{
LOG
(
FATAL
)
<<
"Cannot bind to "
<<
ip
<<
":"
<<
port
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment