I am using POCO library for socket connection.
I Notice poco select API doesn't wait till the poco::timespan.
ReadData() {
SocketList read;
SocketList write;
Socket::select(read, write, exception, Poco::Timespan(5,0)); // it doesn't wait for 5 sec?
Extract_data(read);
}
Aucun commentaire:
Enregistrer un commentaire