Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(1) {
- /* Putting socket into NON BLOCKING mode. */
- if(Pings == 1) {
- /* This have been removed due to taking ~90% of CPU. */
- //int flags = fcntl(socketdescriptor,F_GETFL,0);
- //fcntl(socketdescriptor,F_SETFL,flags | O_NONBLOCK);
- }
Add Comment
Please, Sign In to add comment