modified for ansond's test harness code... disposable.

Fork of WebSocketClient by Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Thu Jun 06 05:53:13 2013 +0000
Parent:
7:4567996414a5
Commit message:
initial commit

Changed in this revision

Websocket.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 4567996414a5 -r 4daf215761cb Websocket.cpp
--- a/Websocket.cpp	Fri Feb 08 12:33:04 2013 +0000
+++ b/Websocket.cpp	Thu Jun 06 05:53:13 2013 +0000
@@ -4,7 +4,7 @@
 #define MAX_TRY_READ 10
 
 //Debug is disabled by default
-#if 0
+#if 1
 #define DBG(x, ...) std::printf("[WebSocket : DBG]"x"\r\n", ##__VA_ARGS__); 
 #define WARN(x, ...) std::printf("[WebSocket : WARN]"x"\r\n", ##__VA_ARGS__); 
 #define ERR(x, ...) std::printf("[WebSocket : ERR]"x"\r\n", ##__VA_ARGS__);