We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4caa18f + 08ae456 commit b4654dcCopy full SHA for b4654dc
src/jsonrpccpp/server/connectors/linuxtcpsocketserver.cpp
@@ -63,7 +63,7 @@ bool LinuxTcpSocketServer::StartListening()
63
inet_aton(this->ipToBind.c_str(), &(this->address.sin_addr));
64
this->address.sin_port = htons(this->port);
65
66
- if(bind(this->socket_fd, reinterpret_cast<struct sockaddr *>(&(this->address)), sizeof(struct sockaddr_in)) != 0)
+ if(::bind(this->socket_fd, reinterpret_cast<struct sockaddr *>(&(this->address)), sizeof(struct sockaddr_in)) != 0)
67
{
68
return false;
69
}
0 commit comments