From 5b333f91f6841ba156d80ca2186465157b06f7a7 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sat, 27 Oct 2018 11:46:11 -0700 Subject: [PATCH] update readme.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88776001..f34237a7 100644 --- a/README.md +++ b/README.md @@ -131,11 +131,11 @@ webSocket.setOnMessageCallback( { if (messageType == ix::WebSocket_MessageType_Open) { - puts("send greetings"); + std::cout << "send greetings" << std::endl; } else if (messageType == ix::WebSocket_MessageType_Close) { - puts("disconnected"); + std::cout << "disconnected" << std::endl; // The server can send an explicit code and reason for closing. // This data can be accessed through the closeInfo object.