Gadver
This commit is contained in:
		
							parent
							
								
									058096f5d5
								
							
						
					
					
						commit
						f3d73b3df4
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -94,6 +94,9 @@ bool DDV_ready(int sock){ | |||
|   fcntl(sock, F_SETFL, postflags); | ||||
|   int r = recv(sock, &tmp, 1, MSG_PEEK); | ||||
|   fcntl(sock, F_SETFL, preflags); | ||||
|   if (r != 1){ | ||||
|     fprintf(stderr, "Er ging iets mis... %i\n", r); | ||||
|   } | ||||
|   return (r == 1); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma