mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 23:12:57 +02:00
POCO1.6 Sample EchoServer BUG #706
This commit is contained in:
parent
74c24a3789
commit
319e2d80b5
@ -116,7 +116,7 @@ public:
|
|||||||
if (_socket.available())
|
if (_socket.available())
|
||||||
{
|
{
|
||||||
int len = _socket.receiveBytes(_fifoIn);
|
int len = _socket.receiveBytes(_fifoIn);
|
||||||
_fifoIn.drain(_fifoOut.write(_fifoIn.buffer()));
|
_fifoIn.drain(_fifoOut.write(_fifoIn.buffer(), _fifoIn.used()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user