1
0

cNetwork: Fixed Linux compilation.

This commit is contained in:
Mattes D
2015-01-12 10:54:28 +01:00
parent a2aa37bdc5
commit 9ffca12709
2 changed files with 24 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ class cEchoServerCallbacks:
{
virtual void OnAccepted(cTCPLink & a_Link) override
{
LOGD("New client accepted (%s:%p), sending welcome message.", a_Link.GetRemoteIP().c_str(), a_Link.GetRemotePort());
LOGD("New client accepted (%s:%d), sending welcome message.", a_Link.GetRemoteIP().c_str(), a_Link.GetRemotePort());
// Send a welcome message to each connecting client:
a_Link.Send("Welcome to the simple echo server.\r\n");
LOGD("Welcome message queued.");