SimpleNetwork icon indicating copy to clipboard operation
SimpleNetwork copied to clipboard

compile error

Open wwd2018 opened this issue 2 years ago • 1 comments

Hi, kashimAstro

please check your update for solve the Issue #10

g++ -Wall -o server server.cpp -I../src/ ../src/TCPServer.cpp ../src/TCPClient.cpp -std=c++11 -lpthread server.cpp: In function ‘void* received(void*)’: server.cpp:53:13: error: could not convert ‘desc’ from ‘std::vector<descript_socket*>’ to ‘bool’ if( desc ) ^ Makefile:2: recipe for target 'all' failed make: *** [all] Error 1

Thanks @kashimAstro

wwd2018 avatar Nov 03 '21 08:11 wwd2018

I think it should be "desc[i]".

TomwKang avatar Apr 14 '22 08:04 TomwKang