/*
	Thread function
	@purpose constantly waits to revieve messages, when a message is recieved it will then display it through cout
*/
void constRecv(UDPSocket &socket) {
	while(!done) {
		string line;
		UDPResponse recv;
		socket.recvFromSocket(recv, 10);
		cout << recv.msg.str() << endl;
	}
}