Guest User

Untitled

a guest
Apr 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. while(1) {
  2.  
  3. /* Putting socket into NON BLOCKING mode. */
  4. if(Pings == 1) {
  5. /* This have been removed due to taking ~90% of CPU. */
  6. //int flags = fcntl(socketdescriptor,F_GETFL,0);
  7. //fcntl(socketdescriptor,F_SETFL,flags | O_NONBLOCK);
  8. }
Add Comment
Please, Sign In to add comment