mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 20:53:45 +01:00
Socket-related cleanups
Improve error handling on Windows and reduce the size of the `Address` class
This commit is contained in:
@@ -507,8 +507,9 @@ void Server::start()
|
||||
<< " \\/ \\/ \\/ \\/ \\/ " << std::endl;
|
||||
actionstream << "World at [" << m_path_world << "]" << std::endl;
|
||||
actionstream << "Server for gameid=\"" << m_gamespec.id
|
||||
<< "\" listening on " << m_bind_addr.serializeString() << ":"
|
||||
<< m_bind_addr.getPort() << "." << std::endl;
|
||||
<< "\" listening on ";
|
||||
m_bind_addr.print(&actionstream);
|
||||
actionstream << "." << std::endl;
|
||||
}
|
||||
|
||||
void Server::stop()
|
||||
|
||||
Reference in New Issue
Block a user