mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 19:23:56 +00:00
Finish tcp client socket
This commit is contained in:
@@ -62,9 +62,9 @@ namespace network
|
||||
}
|
||||
}
|
||||
|
||||
bool socket::bind_port(const address& target)
|
||||
bool socket::bind(const address& target)
|
||||
{
|
||||
return bind(this->socket_, &target.get_addr(), target.get_size()) == 0;
|
||||
return ::bind(this->socket_, &target.get_addr(), target.get_size()) == 0;
|
||||
}
|
||||
|
||||
bool socket::set_blocking(const bool blocking)
|
||||
|
||||
Reference in New Issue
Block a user