Log which address and port the UDP listener is configured for. This will match that given for InternalAddress in the config (e.g. 0.0.0.0)

Can't obtain actually bound address until the UDP socket is used for the first time.
0.7.1-dev
Justin Clark-Casey (justincc) 2011-04-01 00:41:52 +01:00
parent 4d0cffa06e
commit 39c610c165
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ namespace OpenMetaverse
const int SIO_UDP_CONNRESET = -1744830452;
IPEndPoint ipep = new IPEndPoint(m_localBindAddress, m_udpPort);
m_log.DebugFormat(
"[UDPBASE]: Binding UDP listener using internal IP address config {0}:{1}",
ipep.Address, ipep.Port);
m_udpSocket = new Socket(
AddressFamily.InterNetwork,