sources/network/udpsocket.cpp

branch
protocol5
changeset 150
37db42ad451a
parent 131
4996c8684b93
parent 145
d0aedc9be448
child 153
82aac80a2f1d
--- a/sources/network/udpsocket.cpp	Wed Jul 20 15:03:37 2016 +0300
+++ b/sources/network/udpsocket.cpp	Wed Jul 20 17:56:40 2016 +0300
@@ -105,7 +105,7 @@
 
 	if (::bind (m_socket, reinterpret_cast<sockaddr*> (&svaddr), sizeof svaddr) == -1)
 	{
-		m_error = String ("Couldn't bind to port ") + String::from_number (port);
+		m_error = String ("Couldn't bind to port ") + String::fromNumber (port);
 		return false;
 	}
 

mercurial