mawinkle 6 years ago
parent
commit
4390c3543e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      socketio_posix.cpp

+ 3 - 0
socketio_posix.cpp

@@ -97,6 +97,9 @@ std::vector<char> cppsocket::receive(){
 		std::cout << val << ", ";
 		stor.insert(stor.end(), buffer.begin(), buffer.begin() + std::min(val, (ssize_t)buffersize));
 		if(buffer.data()[buffersize] == (char)0)break;
+		else{
+			std::cout << "Continuing loop" << std::endl;
+		}
 	}
 	std::cout << std::endl;
 	return stor;