We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16611c5 commit 93804fcCopy full SHA for 93804fc
src/core/EchoSocket.cpp
@@ -48,7 +48,9 @@ EchoSocket::EchoSocket() {
48
kiwi::cout << "Received data from " << kiwi::ToString(mPeerAddr)
49
<< "(" << *nrecv << " bytes)" << kiwi::endl;
50
51
- mpSocket->SendBytesTo(mpDataBuffer, *nrecv, mPeerAddr);
+ kiwi::IosObject<u8> acceptanceByte = 1;
52
+
53
+ mpSocket->SendTo(acceptanceByte.Ref(), mPeerAddr);
54
}
55
56
0 commit comments