10 Feb
2010
10 Feb
'10
12:42 p.m.
hi, i'm getting a message from a socket like char *datos3="UNBLOCK"; size_t len2 = socket.read_some(boost::asio::buffer(buf2), error2); datos2=(buf2.data()); *//and compare datos2 and datos3* ost::is_equal test; if (test(datos2,datos3)) { std::cout << "Equal" << endl; return; } else std::cout << "NO Equal" << endl; but the string in Datos2 is : UNBLOCK@= ��< , what i got that strange charateres? thanks Ing Pedro Alonso Chaparro Valero Ciudad Politecnica de la Innovación iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain