Nog een poging...
This commit is contained in:
		
							parent
							
								
									b210630fcc
								
							
						
					
					
						commit
						0bfafcda2b
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -31,11 +31,6 @@ int DDV_Listen(int port){
 | 
			
		|||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FILE * DDV_Accept(int sock){
 | 
			
		||||
  int r = accept(sock, 0, 0);
 | 
			
		||||
  if (r != -1){
 | 
			
		||||
    return fdopen(r, "r+");
 | 
			
		||||
  }else{
 | 
			
		||||
    return (FILE*)0;
 | 
			
		||||
  }
 | 
			
		||||
int DDV_Accept(int sock){
 | 
			
		||||
  return accept(sock, 0, 0);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue